:root {
    --primary-dark: #494949;
    --brand-red: #a90115;
    /* Color rojo principal */
    --brand-red-dark: #7a010f;
    --bg-light: #F5F6F7;
    --text-dark: #1F2937;
    --text-light: #F3F4F6;
    --gray-border: #D1D5DB;
    --white: #FFFFFF;
    --max-width: 1480px;
}

.goog-te-combo,
#google_translate_element {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

a {
    text-decoration: none;
    cursor: pointer;
}

.footer-div {
    background-color: #111827;
    color: #9CA3AF;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
}

.custom-language-selector {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    /* right: 30px; */
    left: 5px;
}

.selector-button {
    background: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: background 0.3s;
    gap: 5px;
    margin-right: 10px;
    color: #5d5c5c;
    font-weight: 600;
}

.selector-button:hover {
    background: #f1f1f1;
}

.selector-button img {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.btn-open-modal {

    background-color: #575859;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    transition: transform 0.2s, background-color 0.2s;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 4px;
    gap: 5px;
    text-decoration: none;
    color: #656464;
    white-space: nowrap;
    transition: background 0.3s;
    font-size: 14px;
    font-weight: 600;
}

.lang-option:hover {
    background: #e0e0e0;
}

.flag-icon {
    background-size: cover;
    background-position: center;
    margin-right: 8px;
    border: 1px solid #ccc;
}

.flag-icon.es {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/89/Bandera_de_Espa%C3%B1a_%28con_escudo%29.svg');
}

.flag-icon.en {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg');
}


/* -------------------------- */
/* 2. DIV Encabezado */
/* -------------------------- */
.header-div {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 5rem; */
    padding: 7px;
}

.logo-div {
    font-size: 20px;
    font-weight: 900;
    color: #060606;
    display: flex;
    gap: 4px;
    align-items: center;
}

.logo-div img {
    width: 50px;
    height: 35px;
}

.logo-div span {
    color: var(--brand-red);
}

.menu-div {
    display: none;
    gap: 2rem;
    align-items: center;
}

.menu-div a {
    color: #4B5563;
    font-weight: 600;
    transition: color 0.3s;
}

.menu-div a:hover {
    color: var(--primary-dark);
}

.login-button {
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid var(--gray-border);
    color: var(--text-dark);
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
    cursor: pointer;
}

.login-button:hover {
    background-color: #9b0f20;
    color: #fff;

}



.user-actions {
    display: none;
    align-items: center;
    gap: 20px;
}

.user-info {
    font-weight: 600;
    color: #343a40;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #f0f4f8;
}

.action-button {
    background: #c82333;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
    font-size: 0.95rem;
    font-weight: 600;
}

.action-button:hover {
    background-color: #3a3a3a;
}

.logout-button {
    color: #ffffff;
}

.logout-button:hover {
    background-color: #f8d7da;
    color: #c82333;
}


.btnsUltimos {

    display: none;
    gap: 10px;
    justify-content: space-between;
    width: 23%;
}


@media (min-width: 1000px) {
    .menu-div {
        display: flex;
    }

    .user-actions {
        display: flex;
    }


    .btnsUltimos {
        display: flex;
        justify-content: end;
    }

    .custom-language-selector {
        left: 5px;
    }

    .selector-button img {
        display: flex;
    }


}