/* _content/Sgk_Mlff_AGR_Web_C/Components/Layout/MainLayout.razor.rz.scp.css */
/* ===========================
   HEADER GENERAL
=========================== */
.site-header[b-duisfd5pyc] {
    background: #fff;
    border-bottom: 1px solid #e7eaee;
}

/* Barra superior (logo + men� + login) */
.site-header__bar[b-duisfd5pyc] {
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 12px; /* separaci�n respecto al t�tulo */
    padding-bottom: 4px; /* opcional, sutil */
    border-bottom: 1px solid #e7eaee; /* l�nea divisoria suave */
}

/* Logo */
.site-header__logo_img[b-duisfd5pyc] {
    height: 55px;
    width: auto;
    display: block;
}

/* Men� + bot�n a la derecha */
.site-header__right[b-duisfd5pyc] {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

/* ===========================
   MEN� SUPERIOR
=========================== */
.header-menu.k-menu[b-duisfd5pyc] {
    border: none;
    background: transparent;
    --menu-fg: #60656d;
}

.header-menu .k-menu-item > .k-menu-link[b-duisfd5pyc] {
    color: var(--menu-fg);
    padding: 8px 14px;
    font-weight: 500;
}

.header-menu .k-menu-expand-arrow[b-duisfd5pyc],
.header-menu .k-menu-item .k-menu-expand-icon[b-duisfd5pyc],
.header-menu .k-menu-item .k-icon.k-i-arrow-s[b-duisfd5pyc],
.header-menu .k-menu-item .k-svg-icon.k-svg-i-arrow-s[b-duisfd5pyc] {
    color: #FFB700 !important;
    fill: #d21f2b !important;
}

.header-menu .k-menu-item .k-svg-icon path[b-duisfd5pyc] {
    fill: red;
}

/* ===========================
   BOT�N LOGIN
=========================== */
.login-btn[b-duisfd5pyc] {
    --btnBlue: #3A93D2;
    --btnBlueDark: #15549A;
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: linear-gradient(180deg, var(--btnBlue) 0%, #15549A 100%);
    color: #fff;
    font-weight: 500;
    border-radius: 9px;
    text-decoration: none;
    transition: background .2s ease;
    gap: 8px;
}

    .login-btn:hover[b-duisfd5pyc] {
        background: linear-gradient(180deg, var(--btnBlueDark) 0%, #0b57c2 100%);
    }

/* ===========================
   T�TULO DEBAJO DEL HEADER
=========================== */
.site-header__titulo[b-duisfd5pyc] {
    background: #ffffff; /* antes azul, ahora blanco */
    text-align: center;
    padding: 14px 8px 18px; /* un poco m�s de aire */
    margin-top: 8px; /* aire bajo la barra */
    border-bottom: none; /* quitamos la franja roja */
}

    .site-header__titulo h1[b-duisfd5pyc] {
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin: 0;
    }

.titulo-principal[b-duisfd5pyc] {
    display: block;
    color: #111111; /* texto negro */
}

.titulo-sub[b-duisfd5pyc] {
    font-weight: 600;
    color: #111111; /* texto negro */
}

.site-header__stripe[b-duisfd5pyc] {
    height: 5px;
    margin-top: 10px; /* espacio entre t�tulo y l�nea */
    border-radius: 999px;
    background: linear-gradient( 90deg, #d8202f 0%, /* rojo vivo */
    #ff8a00 16%, /* naranja */
    #ffc700 32%, /* amarillo sol */
    #00a651 48%, /* verde */
    #00a1de 64%, /* celeste/teal */
    #0047ba 80%, /* azul */
    #6a1b9a 100% /* morado de cierre suave */
    );
}
/*linear-gradient(270deg, #0A9B61 0%, #0A9B61 0%, #119FB1 15.1%, #8AAA38 31.22%, #FFBB28 46.92%, #EA8E37 65.56%, #C73734 83.12%, #773535 100%);*/
    /* ===========================
   FOOTER
=========================== */
    .site-footer[b-duisfd5pyc] {
    position: relative;
    color: #333;
    font-size: 14px;
    background: #fff url("images/patrones/footer-pattern.png") repeat center/contain;
    padding-top: 40px;
    border-top: 1px solid #e7eaee;
}

.site-footer__pattern[b-duisfd5pyc] {
    display: none;
}

.site-footer__content[b-duisfd5pyc] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 10px;
    align-items: flex-start;
}

.footer-col__title[b-duisfd5pyc] {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
}

.footer-links[b-duisfd5pyc] {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li[b-duisfd5pyc] {
        margin-bottom: 8px;
    }

    .footer-links a[b-duisfd5pyc] {
        text-decoration: none;
        color: #555;
        transition: color .2s ease;
    }

        .footer-links a:hover[b-duisfd5pyc] {
            color: #15549A;
        }
/* Logos */
.footer-col--brand img[b-duisfd5pyc] {
    display: block;
    margin-bottom: 12px;
    height: 100px;
}
/* Awards */
.footer-awards img[b-duisfd5pyc] {
    max-height: 55px;
    margin-bottom: 16px;
}
/* Redes sociales */
.footer-social[b-duisfd5pyc] {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .footer-social .icon[b-duisfd5pyc] {
        display: inline-block;
        width: 22px;
        height: 22px;
        background: #ccc;
        border-radius: 50%;
    }
/* Banda inferior */
.site-footer__bottom[b-duisfd5pyc] {
    background: #f9f9f9;
    border-top: 1px solid #e7eaee;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    color: #777;
}

    .site-footer__bottom p[b-duisfd5pyc] {
        margin: 0;
    }
/* Idioma */
.footer-lang[b-duisfd5pyc] {
    margin-top: 18px;
}

    .footer-lang select[b-duisfd5pyc] {
        padding: 6px 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }
/* ===========================
   MOBILE ACTIONS (base)
=========================== */
.mobile-actions[b-duisfd5pyc] {
    display: none;
    padding: 8px 16px 0;
}

.mobile-action[b-duisfd5pyc] {
    display: inline-block;
    text-align: center;
    padding: 12px 14px;
    border-radius: 9px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #15549A;
}

.mobile-action--primary[b-duisfd5pyc] {
    border-color: transparent;
    background: linear-gradient(180deg, #3A93D2 0%, #15549A 100%);
    color: #fff;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
    .site-footer__content[b-duisfd5pyc] {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .site-footer__content[b-duisfd5pyc] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .site-header__bar[b-duisfd5pyc] {
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 14px;
    }

    .site-header__logo[b-duisfd5pyc] {
        order: 1;
    }

    .site-header__right[b-duisfd5pyc] {
        order: 2;
        width: auto;
        gap: 12px;
    }

    .site-header__nav[b-duisfd5pyc] {
        display: none;
    }

    .login-btn[b-duisfd5pyc] {
        order: 2;
        margin-left: 0;
    }


    .mobile-actions[b-duisfd5pyc] {
        order: 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .site-header__titulo[b-duisfd5pyc] {
        margin-top: 10px;
    }
}

@media (max-width: 420px) {
    .mobile-actions[b-duisfd5pyc] {
        grid-template-columns: 1fr;
    }
}

/* --- 0) Flex children pueden encogerse --- */
.site-header__bar[b-duisfd5pyc] {
    min-width: 0;
}

.site-header__logo[b-duisfd5pyc],
.site-header__right[b-duisfd5pyc] {
    min-width: 0;
}

.site-header__right[b-duisfd5pyc] {
    flex-shrink: 1; /* permite que el bloque derecho ceda espacio */
    gap: 12px;
}

/* --- 1) Escalado fluido de logo y bot�n --- */
.site-header__logo_img[b-duisfd5pyc] {
    /* Antes: height:55px;  -> ahora fluido */
    height: clamp(36px, 6.5vw, 55px);
    width: auto;
}

.login-btn[b-duisfd5pyc] {
    --btnBlue: #FFBA00; /* Color amarillo */
    --btnBlueDark: #FF9F00; /* Un tono m�s oscuro de amarillo */
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: linear-gradient(180deg, var(--btnBlue) 0%, var(--btnBlueDark) 100%);
    color: black;
    font-weight: 500;
    border-radius: 9px;
    text-decoration: none;
    transition: background .2s ease;
    gap: 8px;
}

    .login-btn:hover[b-duisfd5pyc] {
        background: linear-gradient(180deg, #FF9F00 0%, #FF7F00 100%); /* Tono m�s oscuro cuando se pasa el cursor */
    }

/* --- 2) Breakpoints finos para m�viles --- */
@media (max-width: 420px) {
    .site-header__bar[b-duisfd5pyc] {
        gap: 10px;
        padding: 8px 12px;
    }

    .login-btn[b-duisfd5pyc] {
        border-radius: 8px;
    }
}

@media (max-width: 360px) {
    .site-header__bar[b-duisfd5pyc] {
        gap: 8px;
        padding: 8px 10px;
    }

    .site-header__logo_img[b-duisfd5pyc] {
        height: 34px;
    }
    /* un paso m�s compacto */
    .login-btn[b-duisfd5pyc] {
        padding: 6px 10px;
        font-size: 12.5px;
        border-radius: 8px;
    }
}


/* _content/Sgk_Mlff_AGR_Web_C/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-7n3az13vh0] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-7n3az13vh0] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-7n3az13vh0] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-7n3az13vh0] {
    font-size: 1.1rem;
}

.bi[b-7n3az13vh0] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-7n3az13vh0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-7n3az13vh0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-7n3az13vh0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-7n3az13vh0] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-7n3az13vh0] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-7n3az13vh0] {
        padding-bottom: 1rem;
    }

    .nav-item[b-7n3az13vh0]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-7n3az13vh0]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-7n3az13vh0]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-7n3az13vh0] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-7n3az13vh0] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-7n3az13vh0] {
        display: none;
    }

    .nav-scrollable[b-7n3az13vh0] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
