.custom-background {
    width: 100%;
    min-height: 100%;
    background: transparent;
    position: relative;
    padding: 0;
    margin: 0;
}

.custom-background.scrolled {
    background: transparent;
}

.header, .sb-header {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    background: var(--sb-neutral-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    box-sizing: border-box;
    z-index: var(--sb-z-header);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled, .sb-header.scrolled {
    background: var(--sb-neutral-900);
}

.logo img {
    width: 110px;
    transition: transform 0.3s;
}

.nav a {
    margin: 0 15px;
    color: var(--sb-neutral-0);
    text-decoration: none;
    transition: transform 0.3s;
}

.header.scrolled .nav a {
    color: var(--sb-neutral-0);
    transform: translateX(-10px);
}

/* Buscador de la cabecera oscura: texto blanco sobre fondo translúcido. Iba sin
   acotar y pisaba a cualquier .search input de la aplicación (esta hoja se carga
   la última), dejando el texto blanco sobre fondo blanco en el buscador de
   alumnos de Inscripciones y Preinscripciones. */
.header .search input,
.sb-header .search input {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--sb-neutral-0);
    transition: background-color 0.3s;
}

.header.scrolled .search input,
.sb-header.scrolled .search input {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
}

.header.scrolled .icons img {
    filter: invert(100%);
}

.profile img {
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.header.scrolled .profile img {
    transform: scale(0.9);
}

/* `.content` de la maqueta antigua (cabecera oscura + .custom-background), que ya
   no existe en la aplicación. Su fondo gris, padding y margen se colaban en el
   <main class="content"> del flujo de Inscripciones y Preinscripciones —esta hoja
   se carga después de enrollment-flow.css— y pintaban un recuadro gris detrás de
   las tarjetas. Se retiran: cada pantalla define su propio fondo. */

.card {
    background-color: var(--sb-neutral-0);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
}

.card h3 {
    margin: 0;
    font-size: 18px;
}

.card p {
    font-size: 16px;
    margin: 10px 0 0;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin: 20px;
}

.sb-sidebar-base {
    top: 12% !important;
    border-top-right-radius: 40px;
    display: block;
}

@media (max-width: 1024px) {
    .sb-sidebar-base {
        display: none;
    }

    .sb-sidebar-base.mobile-visible {
        display: block;
        width: 80% !important;
    }}

.sb-sidebar-base.scrolled {
    top: 2.8%;
    border-top-right-radius: 40px;
    z-index: var(--sb-z-header);
    box-shadow: #2e2e2e35 0px 0px 0px 1px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2E2E2E;
    opacity: 0.7;
    z-index: var(--sb-z-header);
    display: none;
}

.menu-hover .overlay {
    display: block;
}

@media (max-width: 1024px) {

    .sb-sidebar-base.mobile-visible {
        display: block;
        width: 100% !important;
    }}

@media (max-width: 768px) {

    .header {
        width: 95%;
        position: fixed;
        background: transparent;
        display: flex;
        justify-content: space-between;
        transition: background 0.3s, padding 0.3s, top 0.3s, width 0.3s, border-radius 0.3s;
        z-index: var(--sb-z-header);
        padding: 20px 0px !important
    }

    .nav {
        display: none;
    }

    .header.scrolled {
        background: #504d4d;
        top: 20px;
        /* Mantener el espacio superior al hacer scroll */
        width: 97%;
        height: 45px;
        padding: 10px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        left: 1%;
    }

    .card {
        width: 100%;
    }}

@media (max-width: 768px) {

    .sb-sidebar-base.mobile-visible {
        display: block;
        top: 0%;
        border-top-right-radius: 0px;
        width: 100% !important;
    }}

.custom-containerHome {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    margin: 0;
}

/* Media query para pantallas más pequeñas */
@media (max-width: 768px) {
    .custom-sidebar {
        width: 99%;
        position: relative !important;
        /* Cambia el sticky a relative y fuerza la aplicación con !important */
        top: auto !important;
        /* Resetea la propiedad top */
    }
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.custom-main {
    flex: 1;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-main-cards {
        flex-direction: column;
    }

    .custom-card {
        max-width: 100%;
    }

    .custom-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .custom-containerHome {
        display: flex;
        flex-direction: row;
        /* En pantallas grandes sigue el orden normal */
        gap: 15px;
    }

    @media (max-width: 768px) {
        .custom-containerHome {
            flex-direction: column-reverse;
            /* Invertir el orden en pantallas pequeñas */
        }}}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

/* Estilos del header */
.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.custom-header.scrolled h1 {
    font-size: 20px !important;
    /* Forzar el cambio con !important */
    color: #333 !important;
    /* Forzar el cambio con !important */
}

.custom-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--sb-neutral-0);
    margin: 0;
}

.custom-header p {
    font-size: 14px;
    color: #c4c4c4;
    margin: 5px 0 0;
}

.custom-date-badge.red {
    background-color: #dc3545;
    /* Rojo profesional */
}

.ItruCard {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: white;
    border-bottom: 8px solid var(--sb-brand);
}

.FontCard {
    margin: 0;
    font-size: 1.5em;
    /* Tamaño de fuente para pantallas grandes (PC) */
    font-weight: 600;
    font-family: var(--sb-font);
    /* Aplicar la fuente Poppins */
}

@media (max-width: 768px) {
    .FontCard {
        font-size: 1.0em;
        /* Tamaño de fuente para pantallas pequeñas (teléfonos) */
    }}

.spinner {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid #363535;
    /* Green */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.spinner-small {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #363535;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {

    /* Hide the table layout for mobile */
    .ItLicen-pricing-table {
        display: none;
    }

    /* Display the mobile-friendly cards */
    .ItLicen-mobile-cards {
        display: block;
        width: 100%;
    }

    .ItLicen-plan-card {
        margin-bottom: 20px;
        background-color: var(--sb-neutral-0);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid #ddd;
    }

    .ItLicen-plan-header {
        background-color: var(--sb-brand);
        color: white;
        text-align: center;
        font-weight: bold;
        padding: 15px;
        position: relative;
    }

    .ItLicen-plan-header.ItLicen-current-license {
        background-color: #363535;
        color: white;
    }

    .badgeLice {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .ItLicen-plan-content {
        padding: 15px;
    }

    .ItLicen-plan-feature {
        margin-bottom: 10px;
    }

    .ItLicen-plan-feature-title {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .ItLicen-button-cell {
        text-align: center;
        padding: 20px;
    }
}

/* Hide mobile-friendly cards on larger screens */
@media (min-width: 769px) {
    .ItLicen-mobile-cards {
        display: none;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2E2E2E;
    opacity: 0.7;
    z-index: var(--sb-z-header);
    display: none;
}

.menu-hover .overlay {
    display: block;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Media query para teléfonos */
@media only screen and (max-width: 768px) {
    .containerCel {
        padding-top: 10%;
    }

    .LogoTelefono {
        text-align: center;
    }
}

/* Ocultar en teléfonos (pantallas menores o iguales a 767px) */
@media only screen and (max-width: 767px) {
    .ocultar-en-telefono {
        display: none;
    }

    .custom-header {
        flex-direction: column;
    }

    .custom-buttons {
        padding-top: 20px
    }

    .custom-main-cards {
        display: block;
    }

    .custom-main-cards {
        align-items: normal;
    }

    .custom-main {
        margin-left: 0px !important;
    }

    .custom-container {
        grid-template-columns: repeat(1, 1fr) !important;
        /* 1 columna en pantallas pequeñas */
        padding-top: 20px;
        /* Ajuste del padding para pantallas pequeñas */
    }

    .List-dashboard-container {
        gap: 0px !important;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.ItLicen-carousel-control.prev {
    position: absolute;
    left: 0;
}

.ItLicen-carousel-control.next {
    position: absolute;
    right: 0;
}

/* Estilos específicos para pantallas pequeñas (teléfonos) */
@media (max-width: 768px) {
    .ItLicen-price-carousel {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        /* Asegura que el carrusel ocupe todo el ancho en teléfonos */
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }

    .ItLicen-price-content {
        text-align: center;
        flex-grow: 1;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ItLicen-price-slider {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }

    .ItLicen-price-slide {
        min-width: 100%;
        box-sizing: border-box;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Centrar el contenido horizontalmente */
        justify-content: center;
        /* Centrar el contenido verticalmente */
    }

    .ItLicen-plan-feature {
        text-align: center;
        /* Centrar el texto dentro del plan */
    }

    .ItLicen-plan-feature-title {
        font-weight: bold;
        margin-bottom: 5px;
        /* Espacio entre el título y el precio */
    }

    .ItLicen-discount {
        margin-top: 10px;
        /* Espacio por encima del descuento */
        color: green;
        font-weight: bold;
        font-size: 1.2em;
        /* Aumentar un poco el tamaño del texto */
    }

    .ItLicen-carousel-control {
        background: none;
        border: none;
        font-size: 2.5em;
        /* Ajuste del tamaño del botón en móviles */
        cursor: pointer;
        color: #333;
        padding: 0 10px;
        font-weight: 900;
        z-index: var(--sb-z-raised);
    }

    .ItLicen-carousel-control.prev {
        position: absolute;
        left: 0;
    }

    .ItLicen-carousel-control.next {
        position: absolute;
        right: 0;
    }

    .ItLicen-carousel-control:hover {
        color: #495057;
    }
}

.ItruckCardButtonCopy.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Definición de la animación */
@keyframes bounce {
    0% {
        transform: translateY(0);
        /* Posición inicial */
    }

    50% {
        transform: translateY(-5px);
        /* Salto hacia arriba */
    }

    100% {
        transform: translateY(0);
        /* Vuelve a la posición inicial */
    }
}

.round-buttonTwo {
    width: 40px;
    height: 40px;
    border-radius: 30%;
    border: 2px solid var(--sb-brand);
    background-color: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, width 0.3s, border-radius 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.round-buttonTwo i {
    font-size: 18px;
    transition: transform 0.3s;
    color: var(--sb-brand);
    /* Color del icono por defecto */
    z-index: var(--sb-z-base);
}

.round-buttonTwo:hover {
    width: 100px;
    /* Expande el botón en hover */
    border-radius: 15px;
    /* Cambia a forma rectangular */
    background-color: #f8f9fa;
    justify-content: flex-start;
    /* Alinea el contenido a la izquierda para que el texto aparezca junto al icono */
    padding-left: 10px;
    /* Agrega espacio a la izquierda para alinear el icono y el texto */
}

.round-buttonTwo:hover i {
    color: var(--sb-brand);
    /* Asegura que el icono sea blanco en hover */
    transform: translateX(0);
    /* Ajusta la posición del icono para que esté junto al texto */
}

.round-buttonTwo span {
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    left: 35px;
    /* Alinea el texto más cerca del icono */
    color: #555;
    /* Asegura que el texto sea visible en hover */
}

.round-buttonTwo:hover span {
    opacity: 1;
    transform: translateX(0);
}

.round-buttonTwo.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/**/
.round-button {
    width: 40px;
    height: 40px;
    border-radius: 30%;
    border: 2px solid var(--sb-brand);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, width 0.3s, border-radius 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.round-button i {
    font-size: 18px;
    transition: transform 0.3s;
    color: var(--sb-brand);
    /* Color del icono por defecto */
    z-index: var(--sb-z-base);
}

.round-button:hover {
    width: 180px;
    /* Expande el botón en hover */
    border-radius: 15px;
    /* Cambia a forma rectangular */
    background-color: var(--sb-brand);
    justify-content: flex-start;
    /* Alinea el contenido a la izquierda para que el texto aparezca junto al icono */
    padding-left: 10px;
    /* Agrega espacio a la izquierda para alinear el icono y el texto */
}

.round-button:hover i {
    color: white;
    /* Asegura que el icono sea blanco en hover */
    transform: translateX(0);
    /* Ajusta la posición del icono para que esté junto al texto */
}

.round-button span {
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    left: 35px;
    /* Alinea el texto más cerca del icono */
    color: white;
    /* Asegura que el texto sea visible en hover */
}

.round-button:hover span {
    opacity: 1;
    transform: translateX(0);
}

.round-button-danger {
    border-color: #dc3545;
}

.round-button-danger i {
    color: #dc3545;
    /* Color del icono para el botón de eliminar */
}

.round-button-danger:hover {
    background-color: #dc3545;
}

.round-button-danger:hover i {
    color: white;
    /* Asegura que el icono sea blanco en hover */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .client-list-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .title-section {
        width: 100%;
        justify-content: space-between;
    }

    .ItruckCardButton {
        margin-top: 0;
        margin-left: 10px;
    }

    .custom-badge {
        margin-left: 0;
        margin-top: 10px;
    }
}

.round-button-gold {
    width: 40px;
    height: 40px;
    border-radius: 30%;
    border: 2px solid var(--sb-brand);
    background-color: var(--sb-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, width 0.3s, border-radius 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.round-button-gold i {
    font-size: 18px;
    transition: transform 0.3s;
    color: var(--sb-neutral-0);
    /* Icono blanco por defecto */
    z-index: var(--sb-z-base);
}

.round-button-gold:hover {
    width: 130px;
    /* Expande el botón en hover para mostrar el texto */
    border-radius: 15px;
    /* Cambia a forma rectangular */
    background-color: white;
    /* Fondo blanco en hover */
    justify-content: flex-start;
    /* Alinea el contenido a la izquierda */
    padding-left: 10px;
    /* Espacio a la izquierda para el icono y el texto */
}

.round-button-gold:hover i {
    color: var(--sb-brand);
    /* Color del icono dorado en hover */
    transform: translateX(0);
    /* Ajusta la posición del icono */
}

.round-button-gold span {
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    left: 35px;
    /* Alinea el texto más cerca del icono */
    color: #333333;
    /* Color del texto dorado en hover */
}

.round-button-gold:hover span {
    opacity: 1;
    transform: translateX(0);
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) {
    .round-button-gold {
        width: 93px;
        /* Siempre mostrar el botón expandido en móviles */
        border-radius: 15px;
        justify-content: flex-start;
        padding-left: 10px;
        font-size: 14px;
    }

    .round-button-gold i {
        color: white;
        /* Icono dorado en móviles */
        margin-right: 10px;
        font-size: 14px;
    }

    .round-button-gold span {
        opacity: 1;
        transform: translateX(0);
        position: static;
        /* Alinea el texto junto al icono */

        color: white;
    }

    .button-containerCe {
        padding-top: 10px;
    }
}

/* Media query para modo móvil */
@media (max-width: 768px) {
    .CustomTabContainer {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .CustomTab {
        display: none;
        /* Oculta las pestañas en modo móvil */
    }

    .CustomTabActive {
        display: flex;
        /* Solo muestra la pestaña activa en modo móvil */
        margin-left: 25px;
    }

    .NavButton {
        display: flex;
        /* Asegura que las flechas de navegación estén visibles en móvil */
    }
}

.info-item {
    display: flex;
    flex-direction: column;
    background-color: var(--sb-neutral-0);
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 768px) {

    .info-item {
        padding: 15px;
    }}

/* Diseño Responsive */
@media screen and (max-width: 768px) {
    .itruckMaps-modal-body {
        flex-direction: column;
    }

    .itruckMaps-modal {
        padding-top: 110px;
    }

    .itruckMaps-modal-content {
        background-color: var(--sb-neutral-0);
        margin: 5% auto;
        padding: 20px;
        border-radius: 10px;
        border: 1px solid #ccc;
        width: 90%;
        max-width: 900px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        height: 1150px !important;
    }

    .itruckMaps-left,
    .itruckMaps-right {
        max-width: 100%;
    }

    .itruckMaps-weather-column,
    .itruckMaps-weather-icon {
        text-align: center;
        padding: 5px 0;
    }

    .itruckMaps-weather-icon img {
        margin-bottom: 10px;
    }

    .itruckMaps-modal-map img {
        max-height: 100% !important;
        height: 400px !important;
        width: 100% !important;
    }

    .itruckMaps-close {
        font-size: 54px;
    }
}

#autocomplete {
    width: 100%;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Media query para pantallas más pequeñas */
@media (max-width: 768px) {
    .itruckMapsRutas {
        flex-direction: column;
        /* Cambia a una columna en pantallas más pequeñas */
        gap: 10px;
        /* Reduce el espacio entre los elementos */
    }

    .info-sectionTwo {
        grid-template-columns: 1fr 50px;
        /* Una columna principal y una más pequeña para el ícono */
        gap: 0.5rem;
    }

    .info-sectionTwo>div:nth-child(1) {
        font-size: 0.9rem;
        /* Reduce el tamaño de la fuente para ahorrar espacio */
    }

    .info-sectionTwo>div:nth-child(2) {
        grid-column: 2 / 3;
        justify-self: flex-end;
        /* Alinea el botón a la derecha */
    }
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
    .itruckFact-container {
        grid-template-columns: repeat(1, 1fr);
        /* Una columna en pantallas pequeñas */
    }

    .itruckFact-ticket {
        padding: 15px;
        gap: 10px;
        /* Espacio entre secciones reducido para pantallas pequeñas */
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 15px;
        /* Ajuste para dispositivos pequeños */
    }

    .timeline-marker {
        left: 1px;
        /* Ajusta el marcador para dispositivos pequeños */
    }

    .timeline-content {
        padding: 5px;
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-date {
        margin-bottom: 5px;
        font-size: 0.85rem;
    }

    .timeline-title {
        font-size: 0.95rem;
    }

    .custom-content {
        padding: 10px !important;
    }
}

/* Animación del spinner */
@keyframes spinS {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wizard-header .step {
    width: 33%;
    text-align: center;
    padding: 10px;
    color: #aaa;
    /* Color inactivo */
    position: relative;
    font-size: 14px;
}

.wizard-header .step i {
    font-size: 30px;
    display: block;
    margin-bottom: 5px;
    color: #aaa;
    /* Color inactivo */
    transition: color 0.3s ease;
}

.wizard-header .step.active {
    color: var(--sb-brand);
    /* Color activo para el texto */
}

.wizard-header .step.active i {
    color: var(--sb-brand);
    /* Color activo para el icono */
}

.wizard-header .step:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 50px;
    background-color: var(--sb-brand);
    transform: translateY(-50%);
}

.wizard-header .step:last-child:after {
    display: none;
}

.wizard-header + .wizard-content {
    background-color: var(--sb-neutral-0);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

@media (max-width: 768px) {

    .wizard-header .step {
        font-size: 14px;
    }}

/* Aplica el zoom en hover */
.image-containerExtra.zoom img {
    transform: scale(1.5);
    /* Ajusta el nivel de zoom */
}

#zoom-image {
    position: absolute;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

.button-container {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    /* Cuatro columnas */
    justify-content: end;
    gap: 10px;
    /* Espacio entre los botones */
}

.button-container2 {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    /* Cuatro columnas */
    justify-content: end;
    gap: 10px;
    /* Espacio entre los botones */
}

@media (max-width: 768px) {

    .button-container2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* Cuatro columnas */
        justify-content: end;
        gap: 10px;
        /* Espacio entre los botones */
    }}

/* Estilos generales para el fondo del modal */
.ModalDemo-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(15, 23, 42, 0.68) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: var(--sb-z-spotlight);
}

@media (max-width: 768px) {

    /* Contenido del modal */
    .ModalDemo-content {
        width: 100% !important;
    }}

/* Contenido del modal */
.ModalDemo-content {
    background-color: white;
    width: 40%;
    /* Ajustado para un tamaño más pequeño */
    max-width: 600px;
    padding: 0;
    /* Sin relleno para manejar los elementos internos */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Para manejar el borde redondeado en el header */
    position: relative;
    border-bottom: 4px solid var(--sb-brand);
}

.ModalDemo-content.filters-modal {
    width: min(420px, 90vw);
    max-width: 420px;
}

/* Encabezado del modal con fondo azul */
.ModalDemo-header {
    background-color: var(--sb-brand);
    /* Azul similar al de la imagen */
    padding: 0px 12px;
    color: white;
    /* Texto blanco */
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ModalDemo-header h2 {
    margin: 0;
}

.ModalDemo-close {
    background: none;
    border: none;
    font-size: 34px;
    cursor: pointer;
    color: white;
    font-weight: 700;
}

/* Cuerpo del modal */
.ModalDemo-body {
    padding: 20px;
    /* Espacio interno */
}

/* Wizard styles moved and standardized exclusively in screens-academias.css and screens-profesores.css */

.ModalDemo-body form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Espacio entre los campos */
}

/*
        .ModalDemo-body input {
            width: 100%;
            padding: 10px;
            font-size: 1rem;
            border: 1px solid #ccc;
            border-radius: 4px;
        }*/

/* Botón personalizado */
/*.ModalDemo-body button {
        background-color: #4e4e4e;*/
/* Color oscuro */
/*color: white;*/
/* Texto en blanco */
/*border: none;
        padding: 15px;
        text-transform: uppercase;*/
/* Texto en mayúsculas */
/*font-weight: bold;
        cursor: pointer;
        border-radius: 4px;
        width: 100%;
        font-size: 1rem;
    }*/

/* Hover del botón */
/*.ModalDemo-body button:hover {
            background-color: #333333;
        }*/

/* Estilo del botón de cierre */
.ModalDemo-close:hover {
    color: #ffffff88;
    /* Color de hover para el botón de cierre */
}

@keyframes moveRight {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
        /* Mueve el ícono hacia la derecha */
    }

    100% {
        transform: translateX(0);
        /* Vuelve a la posición original */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Líneas a los lados */
.line {
    width: calc(50% - 100px);
    /* Ajustamos el ancho para que las líneas se unan al arco sin tocar el perfil */
    height: 1px;
    background-color: #cdcbcb;
    position: relative;
    z-index: var(--sb-z-base);
}

/* Círculos en los extremos de las líneas */
.circle {
    width: 10px;
    height: 10px;
    background-color: var(--sb-neutral-0);
    border: 1px solid #cdcbcb;
    border-radius: 50%;
    position: absolute;
    top: -7px;
}

.left-line .circle {
    left: 0px;
    /* Posicionamos el círculo al extremo izquierdo */
}

.right-line .circle {
    right: 0px;
    /* Posicionamos el círculo al extremo derecho */
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .line {
        width: 111px;
    }

    .circle {
        width: 15px;
        height: 15px;
    }

    .arc {
        width: 120px;
        height: 66px;
    }

    .profile-container {
        width: 87px;
        height: 80px;
    }

    .profile-initial {
        font-size: 30px;
    }

    .profile-wrapper {
        padding-top: 40px;
    }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .ModalGlobal-content {
        width: 90%;
        max-height: 90vh;
    }
}

.btn-back {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--sb-brand);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: var(--sb-brand);
}

/* Mostrar el encabezado y ocultar las etiquetas en pantallas grandes */
@media (min-width: 768px) {
    .TBRol-permission-header {
        display: flex;
    }

    .TBRol-permission-switch-header {
        flex: 1 1 100px;
        text-align: center;
    }

    .TBRol-module-name {
        flex: 1 1 200px;
    }

    .TBRol-permission-switch {
        flex: 1 1 100px;
        justify-content: center;
    }

    /* Ocultar las etiquetas en pantallas grandes */
    .TBRol-label {
        display: none;
    }
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
    .TBRol-permission-header {
        display: none;
        /* Ocultar encabezado en pantallas pequeñas */
    }

    .TBRol-permission-item {
        align-items: flex-start;
    }

    .TBRol-permission-switch {
        flex: 1 1 100%;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .TBRol-label {
        display: inline-block;
        /* Mostrar las etiquetas junto a los switches */
        margin-right: 10px;
    }

    .TBRol-module-name {
        flex: 1 1 200px;
        font-weight: bold;
        margin-bottom: 0;
        position: relative;
        /* Necesario para que la pseudo-clase ::after se posicione correctamente */
    }

    .TBRol-module-name::after {
        content: "";
        /* No mostramos texto, solo la línea */
        display: block;
        width: 100%;
        /* Línea ocupará el ancho del contenedor */
        height: 1px;
        /* Altura de la línea */
        background-color: var(--sb-brand);
        /* Color claro para la línea */
        position: absolute;
        bottom: -5px;
        /* Ajustar la distancia desde la parte inferior del texto */
        left: 0;
    }
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .FacItruck-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

/* Ocultar columnas menos importantes en pantallas pequeñas */
@media (max-width: 768px) {

    .FacItruck-col-precio,
    .FacItruck-col-descuento {
        display: none;
    }

    .FacItruck-table {
        min-width: auto;
        /* Permitir que la tabla se ajuste al ancho disponible */
    }
}

/* Ajuste para pantallas más pequeñas (móviles) */
@media (max-width: 768px) {
    .FacItruck-summary {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Responsividad */
@media (max-width: 768px) {

    .FacItruck-company-info,
    .FacItruck-invoice-info,
    .FacItruck-additional-info,
    .FacItruck-totals {
        width: 100%;
    }

    .FacItruck-invoice-info h2,
    .FacItruck-invoice-info p {
        text-align: left;
    }

    .FacItruck-summary {
        flex-direction: column;
    }

    .FacItruck-additional-info {
        margin-bottom: 20px;
    }
}

/* Estilos responsivos */
@media (max-width: 600px) {

    /* En dispositivos móviles */
    .modalim-toolbar {
        justify-content: space-between;
        /* Distribuye espacio entre los elementos */
        padding: 0 10px;
    }

    .modalim-close {
        position: static;
        order: 2;
    }

    .modalim-zoom-controls {
        order: 1;
    }
}

/* Estilos responsivos */
@media (max-width: 600px) {
    .custom-legend {
        flex-wrap: wrap;
    }

    .legend-title {
        margin-bottom: 5px;
    }

    .edit-button {
        margin-top: 5px;
    }

    .fieldset-content div {
        flex-direction: column;
        align-items: flex-start;
    }

    .edit-icon {
        margin-left: 0;
        margin-top: 5px;
    }
}

.form-group-custom {
    padding: 7px;
    /* border: 1px solid #dcdcdc; */
    border-radius: 4px;
    /* display: inline-block; */
    width: 95%;
    /* margin-bottom: 10px; */
    /* margin-top: 20px; */
}

.form-group-custom label {
    display: block;
    font-size: 14px;
    color: #999999;
    margin-bottom: 5px;
}

.form-control-custom {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    color: #333333;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    box-sizing: border-box;
}

.invoice-status.paid {
    background-color: #4CAF50;
    color: white;
}

.invoice-status.pending {
    background-color: #FFC107;
    color: white;
}

.modal-reporte-overlay.show {
    visibility: visible;
    /* Mostrar cuando la clase "show" esté presente */
    opacity: 1;
}

.cardaling {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px;
}

.full-widthTwo {
    grid-column: span 2;
}

.modal-info-box {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #e0e6f0;
    background: linear-gradient(135deg, rgba(0, 46, 109, 0.08), rgba(200, 40, 0, 0.07));
    align-items: flex-start;
}

.modal-info-box i {
    font-size: 1.2rem;
    color: var(--sb-brand);
    margin-top: 2px;
}

.modal-info-list {
    margin: 0;
    padding-left: 18px;
    color: #3d4a5c;
    font-size: 0.88rem;
}

.modal-info-list li+li {
    margin-top: 4px;
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #6c7a8a;
}

.modal-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #e0e6f0;
    background-color: #f8f9fc;
    font-weight: 600;
    color: #002e6d;
}

.combo-curso-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-footerTw {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
}

.courses-grid-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.courses-grid-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(0, 46, 109, 0.05), rgba(200, 40, 0, 0.08));
    border: 1px solid #e0e6f0;
    border-radius: 14px;
}

.courses-toolbar-centered {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.courses-toolbar-centered .courses-grid-summary {
    margin-left: 0;
    justify-content: center;
}

.courses-toolbar-centered .course-summary {
    justify-content: center;
    align-items: center;
}

.courses-toolbar-centered .course-summary-field {
    align-items: center;
    text-align: center;
}

.courses-grid-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.courses-grid-filters .filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}

.courses-grid-filters .filter-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sb-brand);
}

.courses-grid-filters .checkbox-item {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: unset;
}

.courses-grid-summary {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--sb-brand);
}

.courses-grid-summary span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.course-summary {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 24px;
}

.course-summary-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
}

.course-summary-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4C5AA4;
}

.course-summary-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sb-neutral-850);
    line-height: 1.3;
    word-break: break-word;
    max-width: 260px;
}

@media (max-width: 768px) {
    .courses-grid-toolbar {
        align-items: stretch;
    }

    .courses-grid-summary {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }}

.academy-courses-grid {
    border: 1px solid #e0e6f0;
    border-radius: 16px;
    background-color: var(--sb-neutral-0);
    box-shadow: 0 18px 40px rgba(0, 46, 109, 0.08);
    overflow: hidden;
}

.academy-courses-grid .button-container {
    justify-content: center;
}

/* Barra base */
.bar {
    position: absolute;
    width: 100%;
    transition: height .8s ease;
    border-radius: 0.5rem;
    z-index: var(--sb-z-raised);
    overflow: visible;
}

/* Positivas hacia arriba */
.bar.positive {
    bottom: 50%;
    background: linear-gradient(var(--sb-blue-700), #4C5AA4);
}

/* Negativas hacia abajo */
.bar.negative {
    top: 50%;
    background: linear-gradient(var(--sb-red-600), var(--sb-red-500));
}

.ModalPack-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo ligeramente oscuro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--sb-z-nav);
}

@media (max-width: 768px) {

    /* Contenido del modal */
    .ModalPack-content {
        width: 100% !important;
    }}

/* Contenido del modal */
.ModalPack-content {
    background-color: white;
    width: 70%;
    /* Ajustado para un tamaño más pequeño */

    padding: 0;
    /* Sin relleno para manejar los elementos internos */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Para manejar el borde redondeado en el header */
    position: relative;
    border-bottom: 4px solid var(--sb-brand);
}

/* Encabezado del modal con fondo azul */
.ModalPack-header {
    background-color: var(--sb-brand);
    /* Azul similar al de la imagen */
    padding: 0px 12px;
    color: white;
    /* Texto blanco */
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
}

.ModalPack-header h2 {
    margin: 0;
}

.ModalPack-close {
    background: none;
    border: none;
    font-size: 34px;
    cursor: pointer;
    color: white;
    font-weight: 700;
}

/* Cuerpo del modal */
.ModalPack-body {
    padding: 24px 36px;
    /* Espacio interno */
}

.ModalPack-body form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Espacio entre los campos */
}

.ModalPack-close:hover {
    color: #ffffff88;
    /* Color de hover para el botón de cierre */
}

.academy-empty-state {
    color: #4C5AA4;
    text-align: center;
    font-size: 1rem;
    margin: 2rem 0;
}

.academy-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #eef2ff;
    color: #2f3da2;
}

.academy-status-badge.is-active {
    background: #e6f8ef;
    color: #1d8055;
}

.academy-status-badge.is-inactive {
    background: #f7e9eb;
    color: #b23136;
}

.academy-status-badge.is-visible {
    background: #fff4e6;
    color: #c37a18;
}

.academy-profile-grid .full-width {
    grid-column: 1 / -1;
}

.academy-filters .filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--sb-neutral-850);
    font-weight: 600;
}

.academy-filters .filter-item label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #526484;
}

.academy-filters .filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 640px) {
    .academy-filters .filter-actions {
        justify-content: stretch;
    }

    .academy-filters .filter-actions .rz-button {
        width: 100%;
    }}

.calendar-filter-button.is-active {
    background: linear-gradient(135deg, rgba(31, 60, 136, 0.16), rgba(48, 86, 211, 0.22));
    color: #0f1f4b;
}

.calendar-filter-button.is-active .filter-count {
    background: #1f3c88;
    color: var(--sb-neutral-0);
}

.calendar-day-column.is-today .calendar-day-header {
    background: linear-gradient(135deg, rgba(200, 40, 0, 0.12), rgba(200, 40, 0, 0.08));
    border-color: rgba(200, 40, 0, 0.5);
}

.calendar-event.is-compact {
    padding: 8px 12px;
    gap: 4px;
    border-radius: 16px;
}

.calendar-event.is-class {
    border-left: 6px solid rgba(255, 255, 255, 0.6);
}

.calendar-event.is-schedule {
    border-left: 6px solid rgba(255, 255, 255, 0.32);
}

.calendar-event.is-compact .calendar-event-title {
    font-size: 0.85rem;
}

.calendar-event.is-compact .calendar-event-teacher {
    font-size: 0.72rem;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #364152;
    font-weight: 600;
}

@media (max-width: 768px) {

    .academy-filters .filter-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }}

.academy-logo-editor.is-uploading .logo-edit-overlay {
    opacity: 0;
    pointer-events: none;
}

.academy-profile-grid .full-width {
    grid-column: 1 / -1;
}

.academy-profile-grid .field-pair {
    grid-column: 1 / -1;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: stretch;
}

.social-links-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    border: none;
    background-color: transparent;
}

.social-links-editor-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.social-links-error {
    margin: 0;
    font-size: 0.85rem;
    color: var(--sb-red-600);
    font-weight: 600;
}

.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.social-links-empty {
    margin: 0;
    font-size: 0.88rem;
    color: var(--sb-neutral-400);
    font-style: italic;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background-color: var(--sb-neutral-0);
    border: 1px solid var(--sb-neutral-200);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {

    .social-links-editor-row {
        flex-direction: column;
        align-items: stretch;
    }

    .social-links-editor-row .rz-dropdown,
    .social-links-editor-row .rz-textbox {
        width: 100%;
    }

    .social-link-item {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link-item .rz-dropdown,
    .social-link-item .rz-textbox {
        width: 100%;
    }

    .social-link-item .rz-button {
        align-self: flex-end;
    }}

.reservations-by-class,
.reservations-by-user {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.reservations-filter-grid {
    display: grid;
    gap: 1.25rem;
    width: 100%;
}

.reservations-filter-grid .filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reservations-filter-grid .filter-field label {
    font-weight: 600;
    color: var(--sb-neutral-800);
}

.reservations-filter-grid .filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.reservations-filter-grid .user-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.reservations-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #374151;
}

.reservations-summary strong {
    color: var(--sb-neutral-900);
}

.reservations-grid-section {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    background-color: var(--sb-neutral-0);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.reservations-empty-state {
    color: #4b5563;
    font-size: 0.95rem;
    margin: 0;
}

.reservation-class-range {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background-color: #e5f6ff;
    color: var(--sb-neutral-900);
    font-size: 0.8rem;
    font-weight: 600;
}

.round-button-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

@media screen and (min-width: 768px) {
    .reservations-filter-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        align-items: end;
    }}

@media screen and (max-width: 640px) {
    .reservations-grid-section {
        padding: 0.75rem;
    }

    .reservations-filter-grid .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }}

.home-alert {
    max-width: 600px;
    margin: 2rem auto;
}

.home-page {
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@keyframes homeHeroFloat {
    0% {
        transform: translate3d(0, 42px, 0) rotate(-10deg) scale(0.8);
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    55% {
        transform: translate3d(-12px, -8px, 0) rotate(8deg) scale(1);
        opacity: 0.9;
    }

    100% {
        transform: translate3d(20px, -88px, 0) rotate(18deg) scale(1.18);
        opacity: 0;
    }
}

.home-summary-icon.alumnos {
    background: #392f4f;
}

.home-summary-icon.inscripciones {
    background: #392f4f;
}

.home-summary-icon.cursos {
    background: #392f4f;
}

.home-summary-icon.horarios {
    background: #392f4f;
}

.home-summary-icon.clases {
    background: #392f4f;
}

.home-summary-icon.salas {
    background: #392f4f;
}

.home-summary-icon.profesores {
    background: #392f4f;
}

.home-summary-icon.periodos {
    background: #392f4f;
}

.kpi-card {
    background: var(--sb-neutral-0);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(23, 38, 50, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 50%;
    border-radius: 15px;
    border-bottom: 8px solid var(--sb-brand);
}

.kpi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.kpi-card-header i {
    font-size: 1.6rem;
    color: var(--sb-brand);
}

.kpi-card-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sb-neutral-850);
}

@media (max-width: 767.98px) {
    .home-page {
        padding: 1rem 0.75rem 2rem;
    }}

.csv-export-button.icon-only {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .18);
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: var(--sb-neutral-0);
    cursor: pointer;
    transition: transform .05s ease, background .15s ease, border-color .2s ease;
}

.csv-export-button.icon-only:hover {
    background: rgba(255, 255, 255, .22);
    border-color: var(--sb-neutral-0);
}

.csv-export-button.icon-only:active {
    transform: translateY(1px);
}

.csv-export-button.icon-only i {
    font-size: 1.1rem;
}

.csv-export-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    padding: .4rem .9rem;
    border-radius: 12px;
}

.csv-export-button i {
    line-height: 1;
}

.csv-export-button.icon-only {
    padding: 0;
    gap: 0;
}

.period-actions .csv-export-button {
    background: rgba(0, 0, 0, .18);
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: var(--sb-neutral-0);
}

.period-actions .csv-export-button:hover {
    background: rgba(255, 255, 255, .22);
    border-color: var(--sb-neutral-0);
}

.period-actions .csv-export-button:active {
    transform: translateY(1px);
}

.period-actions .csv-export-button:disabled,
.period-actions .csv-export-button:disabled:hover {
    background: rgba(0, 0, 0, .12);
    border-color: rgba(255, 255, 255, .35);
    color: rgba(255, 255, 255, .65);
    cursor: not-allowed;
    transform: none;
}

.period-actions .csv-export-button:disabled i {
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-card {
        padding: 22px;
    }

    .period-actions {
        position: static;
        margin-top: 10px;
    }
}

/* Botones visibles y consistentes (FA) */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 .75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .18);
    color: var(--sb-neutral-0);
    font-weight: 600;
    gap: .5rem;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.btn-icon i {
    font-size: 1rem;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .7);
}

.btn-icon:active {
    transform: translateY(1px);
}

.users-grid {
    min-height: 300px;
}

.users-empty {
    text-align: center;
    color: var(--sb-brand);
    margin: 1.5rem 0;
}

.users-academies-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.users-academies-accordion {
    border: 1px solid #dbe4f3;
    border-radius: 14px;
    background-color: #f4f7fb;
    overflow: hidden;
}

.users-academies-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--sb-neutral-800);
}

.users-academies-accordion summary::-webkit-details-marker {
    display: none;
}

.users-academies-accordion[open] summary {
    border-bottom: 1px solid #dbe4f3;
}

.users-academies-accordion .users-academies-summary {
    padding: 0 1.25rem 1.25rem;
}

.users-academies-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.users-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.users-summary-info h4 {
    margin: 0;
    color: var(--sb-brand);
    font-weight: 700;
}

.users-summary-info p {
    margin: 0.35rem 0 0;
    color: #5f6368;
}

.users-summary-info p:first-of-type {
    margin-top: 0.5rem;
}

.users-summary-academy {
    margin: 0;
    color: var(--sb-neutral-800);
}

.users-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-brand);
    transition: transform 0.2s ease;
}

.users-academies-accordion[open] .users-accordion-icon {
    transform: rotate(180deg);
}

.users-academies-grid {
    min-height: 280px;
}

@media (max-width: 768px) {
    .users-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }}

.users-sessions-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.users-sessions-back-button {
    align-self: flex-start;
}

.users-sessions-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f4f7fb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.users-sessions-summary h4 {
    margin: 0;
    color: var(--sb-brand);
    font-weight: 700;
}

.users-sessions-summary p {
    margin: 0;
    color: #5f6368;
}

@media (max-width: 768px) {
    .users-sessions-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }}

/* Botón icon-only reutilizable (envoltorio del CsvExportButton) */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 .75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .18);
    color: var(--sb-neutral-0);
    font-weight: 600;
    gap: .5rem;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .05s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .7)
}

.btn-icon:active {
    transform: translateY(1px)
}

.btn-primary {
    color: var(--sb-neutral-0);
    background-color: var(--sb-brand);
    border-color: var(--sb-brand);
}

.user-profile-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.user-profile-summary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #f8f9fb;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.08);
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fe, #d1e3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.user-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile-avatar.is-uploading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.avatar-placeholder {
    letter-spacing: 0.1em;
}

.avatar-upload {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: #0f9d58;
    color: var(--sb-neutral-0);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 157, 88, 0.25);
}

.avatar-upload.is-disabled {
    background: var(--sb-neutral-400);
    cursor: not-allowed;
}

.avatar-upload.is-disabled:hover {
    transform: none;
    box-shadow: none;
}

.avatar-upload.is-disabled i {
    opacity: 0.7;
}

.avatar-upload-input {
    display: none;
}

.avatar-upload-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-neutral-0);
    font-size: 1.5rem;
}

.user-profile-title h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sb-brand);
}

.user-profile-subtitle {
    margin: 0.25rem 0 0;
    color: #51607a;
}

.user-profile-status {
    margin-top: 0.75rem;
}

.user-profile-status-badge {
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
}

.user-profile-metadata {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #394b63;
    font-size: 0.95rem;
}

.user-profile-hint {
    margin: 0;
    font-size: 0.9rem;
    color: #0f4c81;
    font-weight: 500;
}

.user-profile-form {
    background: var(--sb-neutral-0);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 46, 109, 0.08);
}

.user-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.field-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.user-profile-switches {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

.user-profile-switch {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: var(--sb-neutral-0) !important;
    border: 1px solid var(--sb-neutral-200) !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--sb-neutral-700) !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.user-profile-switch:hover {
    border-color: var(--sb-neutral-300) !important;
    background: var(--sb-neutral-50) !important;
}

.user-profile-switch label,
.user-profile-switch .sabora-label {
    margin: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--sb-neutral-700) !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
}

.user-profile-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.user-profile-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--sb-brand);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .user-profile-layout {
        grid-template-columns: 1fr;
    }

    .user-profile-summary {
        padding: 1.25rem;
    }}

@media (max-width: 768px) {
    .user-profile-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .field-pair {
        grid-template-columns: 1fr;
    }}

.alerta-pagos {
    background: linear-gradient(135deg, #fff8f4, #ffeae1);
    border: 2px dashed #ff5b2e;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(255, 91, 46, 0.1);
    animation: bounceIn 0.8s ease;
}

.alerta-pagos p {
    font-size: 15px;
    color: #d93600;
    font-weight: bold;
    margin: 0;
    line-height: 1.5;
}

.alerta-pagos span {
    display: block;
    font-size: 13px;
    font-weight: normal;
    color: #ff784e;
    margin-top: 5px;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.catalog-values-grid {
    padding-top: 10px;
}

.teachers-empty-state,
.teachers-empty-grid {
    color: var(--sb-brand);
    text-align: center;
    margin: 20px 0;
}

.teacher-payouts-note,
.teacher-payouts-form-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f7ff;
    border: 1px solid #dfe4ff;
    border-radius: 12px;
    padding: 12px 16px;
    color: #4c5aa4;
    margin-top: 12px;
}

.teacher-payouts-note i,
.teacher-payouts-form-note i {
    color: #2f3a7d;
    font-size: 1rem;
}

.teacher-payouts-note span,
.teacher-payouts-form-note span {
    font-size: 0.95rem;
    line-height: 1.4;
}

.teacher-payouts-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding: 18px 22px;
    background: var(--sb-neutral-0);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.teacher-payouts-summary .summary-item {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.teacher-payouts-summary .summary-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.teacher-payouts-summary .summary-value {
    font-size: 0.95rem;
    color: var(--sb-neutral-900);
    font-weight: 600;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teacher-detail .ModalDemo-body {
    background: linear-gradient(180deg, #f7f9ff 0%, #eef2fb 100%);
    padding: 28px;
    overflow-y: auto;
    max-height: calc(90vh - 72px);
}

.teacher-info-modal .ModalDemo-body {
    background: linear-gradient(180deg, #f7f9ff 0%, #eef2fb 100%);
    padding: 32px;
    overflow-y: auto;
    max-height: calc(92vh - 76px);
}

@media (max-width: 1200px) {
    .teacher-info-modal .ModalDemo-body {
        padding: 28px;
    }}

.teacher-detail-summary-item .label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a6a92;
}

.teacher-detail-summary-item .value {
    display: block;
    font-weight: 700;
    color: #0f1c3f;
    font-size: 1.1rem;
    margin-top: 2px;
}

.teacher-detail-academy-content .title {
    font-weight: 700;
    color: #0f1c3f;
}

.teacher-detail-academy-content .meta {
    font-size: 0.85rem;
    color: #5f6e96;
}

.teacher-courses .ModalDemo-body {
    background: linear-gradient(180deg, #f7f9ff 0%, #eef2fb 100%);
    padding: 0;
    overflow: hidden;
}

.course-list-item.is-active {
    background: linear-gradient(135deg, var(--sb-brand), #ff7c43);
    color: var(--sb-neutral-0);
    transform: translateX(6px);
}

.course-list-item.is-active .course-list-item-info span {
    color: rgba(255, 255, 255, 0.8);
}

.course-list-item.is-active .academy-status-badge {
    background: rgba(255, 255, 255, 0.18);
    color: var(--sb-neutral-0);
}

.teacher-course-info-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4c5aa4;
    font-weight: 700;
}

.teacher-course-info-item .value {
    display: block;
    font-size: 1rem;
    color: #0f1c3f;
    margin-top: 2px;
}

@media (max-width: 600px) {
    .teacher-detail .ModalDemo-body {
        padding: 22px 18px;
    }}

.teachers-empty-state,
.teachers-empty-grid {
    color: var(--sb-brand);
    text-align: center;
    margin: 20px 0;
}

.teacher-classes-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.teacher-classes-filters-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 252, 0.95) 100%);
    border: 1px solid #dce3f2;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    padding: 24px 28px;
}

.teacher-classes-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
}

.teacher-classes-filter {
    flex: 1 1 260px;
}

.teacher-classes-filter label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--sb-neutral-800);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.teacher-classes-search-button {
    min-width: 56px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 16px;
}

.teacher-classes-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 22px;
    background: var(--sb-neutral-0);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.teacher-classes-summary .summary-item {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.teacher-classes-summary .summary-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.teacher-classes-summary .summary-value {
    font-size: 0.95rem;
    color: var(--sb-neutral-900);
    font-weight: 600;
}

.teacher-classes-grid {
    width: 100%;
}

.class-schedule-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.class-schedule-cell .schedule-date {
    font-weight: 600;
    color: var(--sb-neutral-800);
}

.class-schedule-cell .schedule-time {
    font-size: 0.85rem;
    color: #6b7280;
}

@media (max-width: 640px) {
    .teacher-classes-filters-card {
        padding: 24px;
        gap: 20px;
    }

    .teacher-classes-summary {
        padding: 16px 18px;
    }}

.teachers-empty-state,
.teachers-empty-grid {
    color: var(--sb-brand);
    text-align: center;
    margin: 20px 0;
}

.teacher-courses-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.teacher-courses-grid {
    width: 100%;
}

.teacher-schedules-table-wrapper {
    overflow-x: auto;
    padding: 4px 0;
}

.teacher-schedules-table {
    width: 100%;
    min-width: 420px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--sb-neutral-0);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 26px rgba(15, 28, 63, 0.1);
}

.teacher-schedules-table th,
.teacher-schedules-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.9rem;
    color: #1a2140;
}

.teacher-schedules-table th {
    background: var(--sb-brand);
    color: var(--sb-neutral-0);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.teacher-schedules-table td {
    border-bottom: 1px solid #f1d2ca;
}

.teacher-schedules-table tbody tr:nth-child(even) {
    background: var(--sb-brand-surface);
}

.teacher-schedules-table tbody tr:last-child td {
    border-bottom: none;
}

.teacher-schedules-time {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.teacher-schedules-time .schedule-time {
    font-weight: 600;
    color: #0f1c3f;
}

.teacher-schedules-time .schedule-duration {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(200, 40, 0, 0.15);
    color: var(--sb-brand);
    font-size: 0.75rem;
    font-weight: 600;
}

.teacher-payouts-filters .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.teacher-payouts-filters .filter-item {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.teacher-payouts-filters .filter-item label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.teacher-payouts-filters .filter-item.checkbox-item {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.teacher-payouts-filters .filter-item.actions {
    justify-content: center;
    min-width: 160px;
}

.teacher-payouts-empty {
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    color: #555;
}

.professor-payout-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.professor-payout-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
}

.professor-payout-filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.professor-payout-filter-item.search {
    flex: 1 1 220px;
    min-width: 220px;
}

.professor-payout-filter-item.search i {
    color: var(--sb-neutral-500);
}

.professor-payout-selected-teacher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #f1f3f5;
    color: var(--sb-neutral-850);
    font-weight: 600;
}

.professor-payout-selected-teacher i {
    color: var(--sb-brand);
}

.professor-payout-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.professor-payout-summary-card {
    background: var(--sb-neutral-0);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 120px;
}

.professor-payout-summary-card .summary-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sb-neutral-500);
}

.professor-payout-summary-card .summary-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--sb-neutral-850);
}

.professor-payout-summary-card .summary-note {
    font-size: 0.85rem;
    color: var(--sb-neutral-600);
}

.professor-payout-summary-card.is-margin .summary-value {
    color: #1b8f4a;
}

@media (max-width: 768px) {
    .professor-payout-summary {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .professor-payout-summary-card {
        min-height: 100px;
    }}

.professor-payout-grid {
    width: 100%;
}

.professor-payout-empty {
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    color: #555;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group.checkbox-item {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.users-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.users-grid {
    width: 100%;
}

.users-status-badge.is-active {
    --rz-badge-background: #1b8f4a;
}

.users-status-badge.is-inactive {
    --rz-badge-background: #d62828;
}

.users-empty {
    text-align: center;
    color: var(--sb-brand);
    font-weight: 500;
    margin: 1.5rem 0;
}

.users-sessions-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.users-sessions-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.users-sessions-search-button {
    height: 100%;
    min-width: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(33, 150, 243, 0.25);
}

.users-sessions-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #f5f9ff 0%, var(--sb-neutral-0) 100%);
    box-shadow: 0 12px 30px rgba(15, 76, 129, 0.08);
}

.users-sessions-summary h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f4c81;
}

.users-sessions-summary p {
    margin: 0.25rem 0 0;
    color: #546e7a;
    font-size: 0.95rem;
}

.users-switch {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.9rem;
    color: #607d8b;
}

.users-switch strong {
    font-size: 1.4rem;
    color: #1976d2;
}

.users-empty {
    margin: 2rem 0;
    text-align: center;
    color: #78909c;
}

@media (max-width: 768px) {
    .users-sessions-toolbar {
        grid-template-columns: 1fr;
    }

    .users-sessions-search-button {
        width: 100%;
    }

    .users-sessions-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .users-switch {
        align-items: flex-start;
    }}

.catalog-values-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.summary-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #856029;
    letter-spacing: 0.05em;
}

.summary-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1b2f4a;
}

.catalog-alert.warning {
    background-color: #fff4e6;
    color: #7b4500;
}

.filter-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: var(--sb-neutral-0);
    color: #1a2f4a;
    font-size: 0.95rem;
    font-weight: 600;
}

.filter-item label {
    margin: 0;
    cursor: pointer;
}

.filter-item.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.catalog-values-grid {
    width: 100%;
}

.catalog-values-data-grid {
    width: 100%;
}

.scope-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.scope-badge.is-global {
    background-color: #e8f1ff;
    color: #184a8c;
}

.scope-badge.is-academy {
    background-color: #fdf0da;
    color: #8a4f00;
}

.academy-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #eef2ff;
    color: #2f3da2;
}

.academy-status-badge.is-active {
    background: #e6f8ef;
    color: #1d8055;
}

.academy-status-badge.is-inactive {
    background: #f7e9eb;
    color: #b23136;
}

.metadata-cell {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #4f5d75;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.modal-form-grid .full-width {
    grid-column: 1 / -1;
}

.promotions-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.promotions-grid {
    width: 100%;
}

.promotions-empty {
    text-align: center;
    color: #4c5aa4;
    font-weight: 500;
    margin: 1.5rem 0;
}

.promotions-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem 2rem;
    margin-top: 1rem;
    padding-inline: 0.5rem;
}

.periodo-modal-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem 1.75rem;
    margin-top: 1rem;
}

.periodo-modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.periodo-modal-form .money-input-wrapper {
    width: 100%;
}

.periodo-name-hint {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.promotions-form-grid .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.promotions-form-grid .money-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.promotions-form-grid .form-control,
.promotions-form-grid select {
    width: 100%;
    border-radius: 0.65rem;
    border: 1px solid #d1d5db;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
}

.promotions-switch {
    display: flex;
    align-items: center;
    padding-top: 1.5rem;
}

.promotions-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
}

.promotions-switch .form-check-label {
    margin-left: 0.75rem;
    font-weight: 600;
    color: var(--sb-neutral-800);
}

.user-profile-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 2.5rem;
    align-items: start;
}

.user-profile-summary {
    position: sticky;
    top: 2rem;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.9) 0%, var(--sb-neutral-0) 45%);
    border: 1px solid var(--sb-neutral-200);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    padding: 1.75rem;
}

.user-profile-summary::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 90px;
    background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.25), transparent 60%), radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 55%);
    pointer-events: none;
    z-index: var(--sb-z-base);
}

.user-profile-summary>* {
    position: relative;
    z-index: var(--sb-z-base);
}

.user-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.user-profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-neutral-800);
    font-weight: 600;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.user-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    letter-spacing: -0.02em;
}

.avatar-upload {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f9d58, #0b8043);
    color: var(--sb-neutral-0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 14px 24px rgba(15, 157, 88, 0.25);
}

.avatar-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 157, 88, 0.35);
}

.avatar-upload-input {
    display: none;
}

.avatar-upload-spinner {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sb-neutral-900);
}

.user-profile-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.user-profile-subtitle {
    color: var(--sb-neutral-500);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.user-profile-status {
    display: flex;
    justify-content: center;
}

.user-profile-status-badge {
    --rz-badge-background: var(--sb-neutral-200);
    --rz-badge-color: var(--sb-neutral-900);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.user-profile-status-badge.is-active {
    --rz-badge-background: #0f9d58 !important;
    --rz-badge-color: var(--sb-neutral-0);
    background-color: #0f9d58 !important;
    color: var(--sb-neutral-0);
}

.user-profile-status-badge.is-inactive {
    --rz-badge-background: #d93025;
    --rz-badge-color: var(--sb-neutral-0);
    background-color: #d93025;
    color: var(--sb-neutral-0);
}

.user-profile-metadata {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--sb-neutral-600);
}

.role-status.is-active {
    color: #0f9d58;
}

.role-status.is-inactive {
    color: var(--sb-amber-600);
}

.role-status.is-suspended {
    color: #d93025;
}

.role-status.is-unknown {
    color: var(--sb-neutral-500);
}

.user-profile-hint {
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: var(--sb-neutral-500);
    text-align: center;
}

.user-profile-form {
    background: var(--sb-neutral-0);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.user-profile-grid {
    display: grid;
    gap: 1.5rem;
}

.field-pair {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.user-profile-switches {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 12px !important;
}

.user-profile-switch {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: var(--sb-neutral-0) !important;
    border: 1px solid var(--sb-neutral-200) !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--sb-neutral-700) !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    cursor: pointer !important;
}

.user-profile-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.users-modal {
    width: min(520px, 90vw);
    border-radius: 18px;
    overflow: hidden;
}

.users-modal-grid {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
}

.users-modal-context {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: var(--sb-neutral-50);
    border: 1px dashed #cbd5f5;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.users-modal-context i {
    font-size: 1.25rem;
    color: var(--sb-brand);
}

.users-modal-label {
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.users-modal-value {
    margin: 0.25rem 0 0;
    color: var(--sb-neutral-800);
    font-weight: 600;
}

.modal-footerTw {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--sb-neutral-50);
    border-top: 1px solid var(--sb-neutral-200);
}

@media (max-width: 1024px) {
    .user-profile-layout {
        grid-template-columns: 1fr;
    }

    .user-profile-summary {
        position: static;
    }

    .user-profile-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }}

.report-by-student {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.report-by-student__filters {
    background: linear-gradient(135deg, rgba(19, 100, 255, 0.08), rgba(19, 100, 255, 0));
}

.report-by-student__filters-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.report-by-student__filters-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(19, 100, 255, 0.12);
    color: #1364ff;
}

.report-by-student__summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background-color: var(--sb-neutral-0);
}

.report-by-student__summary-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-neutral-0);
}

.report-by-student__summary-icon.ingresos {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.report-by-student__summary-icon.margen {
    background: linear-gradient(135deg, #0ea5e9, #0f766e);
}

.report-by-student__summary-icon.alumnos {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.report-by-student__summary-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.report-by-student__summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sb-neutral-900);
}

.report-by-student__summary-helper {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.report-by-student__footer-value {
    font-weight: 700;
    color: var(--sb-neutral-900);
}

@media (max-width: 991.98px) {
    .report-by-student__summary-card {
        flex-direction: row;
        align-items: flex-start;
    }}

@media (max-width: 767.98px) {
    .report-by-student__filters-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-by-student__summary-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-by-student__summary-icon {
        border-radius: 0.75rem;
    }}

.monthly-report {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

.monthly-report__section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.monthly-report__section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--sb-neutral-850);
}

.monthly-report__section-header p {
    margin: 4px 0 0;
    color: #5f6b7c;
    max-width: 560px;
}

.monthly-report__filters,
.monthly-report__summary,
.monthly-report__table {
    background: var(--sb-neutral-0);
    border: 1px solid #dce4f2;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(23, 38, 50, 0.08);
}

.monthly-report__filters {
    background: linear-gradient(135deg, rgba(76, 90, 164, 0.08), rgba(255, 255, 255, 0.92));
}

.monthly-report__filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.monthly-report__filters-action {
    display: flex;
    align-items: flex-end;
}

.monthly-report__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f1f4ff;
    border: 1px solid #d2dbff;
}

.monthly-report__meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4c5aa4;
}

.monthly-report__meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sb-neutral-850);
}

.monthly-report__kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.monthly-report__grid {
    --rz-grid-border: #dce4f2;
    --rz-grid-border-radius: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--sb-neutral-0);
}

.monthly-report__empty {
    padding: 32px;
    border: 1px dashed #c7d2e6;
    border-radius: 16px;
    text-align: center;
    color: #4c5aa4;
    background: rgba(76, 90, 164, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.monthly-report__empty i {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .monthly-report {
        gap: 24px;
    }

    .monthly-report__section-header {
        align-items: flex-start;
    }}

.reports-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.reports-messages {
    list-style: disc;
    padding-left: 24px;
    color: #c62828;
}

.reports-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.reports-card {
    background-color: #f5f8ff;
    border: 1px solid #d9e1f2;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reports-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--sb-neutral-0);
    align-self: flex-start;
}

.reports-status.is-healthy {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
}

.reports-status.is-warning {
    background: linear-gradient(135deg, #f57c00, #ffb300);
}

.reports-status.is-unhealthy {
    background: linear-gradient(135deg, #c62828, #ef5350);
}

.reports-status.is-unknown {
    background: linear-gradient(135deg, #546e7a, #90a4ae);
}

.reports-timestamp {
    margin: 0;
    color: #5f5f5f;
    font-size: 0.9rem;
}

.reports-user-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reports-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.reports-section {
    border: 1px solid #d9e1f2;
    border-radius: 12px;
    padding: 20px;
    background-color: var(--sb-neutral-0);
}

.reports-section h4 {
    margin-top: 0;
    color: var(--sb-neutral-850);
}

.reports-empty {
    color: #5f5f5f;
    font-style: italic;
}

.reports-role {
    font-weight: 600;
    color: var(--sb-neutral-850);
}

.reports-role-academy {
    margin-left: 6px;
    color: #4c5aa4;
    font-size: 0.9rem;
}

.pack-wizard-step.disabled {
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}

.pack-wizard-step.active {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 18px 50px -30px rgba(13, 110, 253, 0.65);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.02));
}

.pack-wizard-step.completed {
    border-color: rgba(25, 135, 84, 0.4);
}

.pack-wizard-step.completed .pack-wizard-step-number {
    background: rgba(25, 135, 84, 0.12);
    color: var(--bs-success, #198754);
}

.pack-wizard-step.active .pack-wizard-step-number {
    background: var(--bs-primary, #0d6efd);
    color: var(--sb-neutral-0);
}

.user-search-result.is-selected {
    border-color: var(--rz-primary, #7c4dff);
    background-color: rgba(124, 77, 255, 0.1);
}

.user-status.is-active {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.user-status.is-inactive {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.summary-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #888;
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 600;
}

.enrollment-current-meta.is-secondary {
    color: #888;
}

.user-search-result.is-selected {
    border-color: var(--rz-primary, #7c4dff);
    background: rgba(124, 77, 255, 0.08);
}

.user-status.is-active {
    background: rgba(14, 159, 104, 0.12);
    color: #0b6b42;
}

.user-status.is-inactive {
    background: rgba(225, 60, 60, 0.12);
    color: #b82b2b;
}

.summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6a7280;
    font-weight: 600;
}

.summary-value {
    display: block;
    font-size: 0.95rem;
    color: #1f2f45;
    font-weight: 600;
}

.enrollment-step.is-active {
    border-color: var(--sb-brand) !important;
    background: linear-gradient(180deg, rgb(210 30 55 / 16%) 0%, rgb(210 30 30 / 6%) 100%) !important;
    color: var(--sb-brand) !important;
}

.enrollment-step.is-complete {
    border-color: rgba(14, 159, 104, 0.35);
    background: rgba(14, 159, 104, 0.08);
    color: #0c5c3a;
}

.enrollment-preview-lines .text-right {
    text-align: right;
}

.enrollment-invoice-total .currency {
    font-size: 0.85rem;
    color: var(--rz-primary, #7c4dff);
    font-weight: 600;
}

.enrollment-invoice-summary-row.total {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a2335;
}

.enrollment-receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.enrollment-confirm .academy-empty-state {
    margin: 0;
}

.enrollment-receipt-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 36px;
    border-radius: 28px;
    border: 1px solid rgba(20, 34, 70, 0.12);
    background: linear-gradient(145deg, var(--sb-neutral-0) 0%, #f7f9ff 55%, #e5e7eb 100%);
    box-shadow: 0 42px 72px -48px rgba(18, 40, 78, 0.45);
    overflow: hidden;
}

.enrollment-receipt-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--sb-neutral-0) 0%, #f7f9ff 55%, #e5e7eb 100%);
    pointer-events: none;
}

.enrollment-receipt-card>* {
    position: relative;
    z-index: var(--sb-z-base);
}

.receipt-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(18, 40, 78, 0.08);
}

.receipt-card__brand-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6d778a;
    font-weight: 600;
}

.receipt-card__brand-name {
    margin: 6px 0 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #122446;
}

.receipt-card__totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.receipt-card__totals-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d778a;
}

.receipt-card__totals-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2335;
}

.receipt-card__totals-hint {
    font-size: 0.85rem;
    color: #5c687d;
}

.receipt-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgb(77 255 158 / 12%);
    color: #1d7918;
    font-size: 0.85rem;
    font-weight: 600;
}

.receipt-card__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.receipt-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(124, 77, 255, 0.08);
    box-shadow: 0 22px 40px -38px rgba(18, 40, 78, 0.55);
}

.receipt-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d778a;
}

.receipt-card__value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2f45;
}

.receipt-card__hint {
    font-size: 0.9rem;
    color: #7a8599;
}

.receipt-card__customer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(20, 34, 70, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.receipt-card__customer-main h5 {
    margin: 6px 0 0;
    font-size: 1.35rem;
    color: #122446;
}

.receipt-card__customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.receipt-card__customer-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f5f7ff;
    border: 1px solid rgba(124, 77, 255, 0.1);
}

.receipt-card__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.receipt-card__summary-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--sb-neutral-0);
    border: 1px solid rgba(20, 34, 70, 0.08);
    box-shadow: 0 24px 45px -36px rgba(18, 40, 78, 0.45);
}

.receipt-card__summary-amount {
    font-size: 1.2rem;
    color: #1f2f45;
    font-weight: 600;
}

.receipt-card__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(20, 34, 70, 0.08);
    box-shadow: 0 26px 48px -40px rgba(18, 40, 78, 0.4);
}

.receipt-card__section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.receipt-card__section-title h5 {
    margin: 0;
    font-size: 1.05rem;
    color: #122446;
}

.receipt-card__section-title span {
    font-size: 0.85rem;
    color: #6d778a;
    font-weight: 600;
}

.enrollment-receipt-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--sb-neutral-0);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(20, 34, 70, 0.08);
}

.enrollment-receipt-table thead th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #5c687d;
    font-weight: 700;
    background: #f0f3ff;
    padding: 12px 16px;
    text-align: left;
}

.enrollment-receipt-table tbody td {
    padding: 14px 16px;
    font-size: 0.95rem;
    color: #1f2f45;
    border-bottom: 1px solid rgba(20, 34, 70, 0.08);
    background: var(--sb-neutral-0);
}

.enrollment-receipt-table tbody tr:last-child td {
    border-bottom: none;
}

.enrollment-receipt-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.enrollment-receipt-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f5f7ff;
    border: 1px solid rgba(124, 77, 255, 0.1);
    color: #1f2f45;
}

.enrollment-receipt-list li span {
    color: #5c687d;
    font-size: 0.9rem;
}

.receipt-promotion {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.receipt-promotion__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.receipt-promotion__info strong {
    font-size: 1rem;
    color: #1f2f45;
}

.receipt-promotion__description {
    color: #48536a;
    font-size: 0.9rem;
}

.receipt-promotion__meta {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7a869c;
}

.receipt-promotion__amount {
    font-weight: 700;
    font-size: 1rem;
    color: #d64545;
}

.receipt-card__note {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(124, 77, 255, 0.08);
    border: 1px solid rgba(124, 77, 255, 0.18);
    color: #1f2f45;
}

.receipt-card__note p {
    margin: 0;
    font-size: 0.95rem;
    color: #1f2f45;
}

@media (max-width: 992px) {
    .enrollment-receipt-card {
        padding: 30px;
        border-radius: 24px;
    }

    .receipt-card__header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 18px;
    }

    .receipt-card__totals {
        align-items: flex-start;
        text-align: left;
    }}

@media (max-width: 640px) {
    .enrollment-receipt-card {
        padding: 24px;
    }

    .receipt-card__meta,
    .receipt-card__customer-grid,
    .receipt-card__summary {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .enrollment-receipt-table thead {
        display: none;
    }

    .enrollment-receipt-table,
    .enrollment-receipt-table tbody,
    .enrollment-receipt-table tr,
    .enrollment-receipt-table td {
        display: block;
        width: 100%;
    }

    .enrollment-receipt-table tr {
        border-bottom: 1px solid rgba(20, 34, 70, 0.08);
        padding: 12px 0;
    }

    .enrollment-receipt-table td {
        padding: 8px 0;
        text-align: left !important;
        position: relative;
    }

    .enrollment-receipt-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #7a8599;
        margin-bottom: 2px;
        font-weight: 600;
    }}

.enrollment-step.is-active {
    border-color: rgba(124, 77, 255, 0.55);
    background: linear-gradient(180deg, rgba(124, 77, 255, 0.12) 0%, rgba(124, 77, 255, 0.04) 100%);
    color: #2a165f;
}

.enrollment-step.is-complete {
    border-color: rgba(14, 159, 104, 0.55);
    background: linear-gradient(180deg, rgba(14, 159, 104, 0.16) 0%, rgba(14, 159, 104, 0.08) 100%);
    color: #0c5c3a;
}

.enrollment-step.is-active .enrollment-step-index {
    background: linear-gradient(135deg, var(--rz-primary, #7c4dff), #512da8);
}

.enrollment-step.is-complete .enrollment-step-index {
    background: linear-gradient(135deg, #0e9f68, #0c7a4d);
    color: var(--sb-neutral-0);
}

.enrollment-step.is-active {
    border-color: rgba(30, 100, 210, 0.55);
    background: linear-gradient(180deg, rgba(30, 100, 210, 0.16) 0%, rgba(30, 100, 210, 0.06) 100%);
    color: #103a6d;
}

.enrollment-step.is-active .enrollment-step-index {
    background: linear-gradient(135deg, var(--sb-brand), var(--sb-brand));
    box-shadow: 0 12px 22px -16px rgba(37, 99, 235, 0.6);
}

.periods-modal-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem 0.5rem 0;
}

.periods-modal-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.periods-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--sb-neutral-800);
    padding: 0.5rem 0.75rem;
}

.periods-empty-state {
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: #4b5563;
    background-color: #f9fafb;
    margin-bottom: 1.25rem;
}

.periods-empty-state p {
    margin: 0 0 0.75rem;
    font-weight: 500;
}

.periods-current-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
    color: var(--sb-neutral-800);
}

.periods-current-dates {
    color: var(--sb-neutral-800);
    font-size: 0.9rem;
}

.periods-list-item.is-current {
    border-color: var(--sb-blue-600);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.period-creation-form {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    background-color: #f9fafb;
    margin-bottom: 1.25rem;
}

.period-creation-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.period-creation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.periods-feedback {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .periods-modal-content {
        max-height: 60vh;
        padding: 0.5rem;
    }

    .period-creation-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .period-creation-actions .rz-button {
        width: 100%;
    }}

.cashflow-detail-toolbar .round-buttonTwo {
    width: 44px;
    height: 44px;
}

.cashflow-detail-toolbar .round-buttonTwo.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    width: 44px;
    height: 44px;
}

.cashflow-detail-toolbar .round-buttonTwo.is-disabled:hover {
    width: 44px;
    border-radius: 30%;
    background: transparent;
}

.cashflow-detail-toolbar .round-buttonTwo.is-disabled span {
    opacity: 0;
}

.cashflow-status.is-open {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

.cashflow-status.is-closed {
    background: rgba(244, 67, 54, 0.15);
    color: #c62828;
}

.cashflow-summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--sb-neutral-0);
    padding: 0.85rem 1.4rem;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(23, 38, 50, 0.08);
    border-left: 4px solid var(--sb-brand);
}

.cashflow-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--sb-neutral-0);
}

.cashflow-summary-icon.saldo-inicial {
    background: var(--sb-blue-600);
}

.cashflow-summary-icon.ingresos {
    background: #059669;
}

.cashflow-summary-icon.egresos {
    background: var(--sb-red-600);
}

.cashflow-summary-icon.contado {
    background: var(--sb-amber-500);
}

.cashflow-summary-icon.diferencia {
    background: var(--sb-accent-violet);
}

.cashflow-summary-data {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cashflow-summary-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.cashflow-summary-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sb-neutral-850);
}

.cashflow-actions .round-buttonTwo span {
    white-space: nowrap;
}

.cashflow-tag.is-ingreso {
    background: rgba(67, 160, 71, 0.12);
    color: #2e7d32;
}

.cashflow-tag.is-egreso {
    background: rgba(229, 57, 53, 0.12);
    color: #c62828;
}

.cashflow-tag.is-commission {
    background: rgba(255, 152, 0, 0.15);
    color: #ef6c00;
}

.cashflow-tag.is-regular {
    background: rgba(96, 125, 139, 0.12);
    color: #455a64;
}

.cashflow-diff.is-positive {
    color: #2e7d32;
    font-weight: 600;
}

.cashflow-diff.is-negative {
    color: #c62828;
    font-weight: 600;
}

.cashflow-diff.is-neutral {
    color: var(--sb-neutral-900);
}

.cashflow-empty {
    margin: 0;
    padding: 1rem;
    text-align: center;
    background: rgba(236, 239, 255, 0.6);
    border-radius: 12px;
    color: #4a5375;
}

.cashflow-open-modal {
    width: min(560px, calc(100vw - 2rem));
}

.cashflow-dialog-modal {
    width: min(520px, calc(100vw - 2rem));
}

.cashflow-dialog {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

.cashflow-dialog-description {
    margin: 0;
    color: #6f7ba5;
    font-size: 0.9rem;
}

.cashflow-dialog-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cashflow-dialog-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cashflow-dialog-field label {
    font-weight: 600;
    color: #324064;
}

.cashflow-dialog-field--full {
    grid-column: 1 / -1;
}

.cashflow-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.teacher-onboarding-empty {
    text-align: center;
    font-size: 1rem;
    color: #6c757d;
    margin: 2rem 0;
}

.onboarding-step.is-active {
    background-color: var(--sb-blue-600);
    border-color: var(--sb-blue-700);
    color: var(--sb-neutral-0);
}

.onboarding-step.is-complete {
    background-color: var(--sb-green-500);
    border-color: #059669;
    color: var(--sb-neutral-0);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.field-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.switch-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #f9fafb;
}

.teacher-onboarding-summary .summary-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.05em;
}

.teacher-onboarding-summary .summary-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sb-neutral-900);
}

@media (max-width: 768px) {

    .switch-inline {
        flex-direction: column;
        align-items: flex-start;
    }}

.teacher-onboarding-wizard .wizard-form .wizard-grid {
    display: grid;
    gap: 18px 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.teacher-onboarding-wizard .wizard-form .wizard-grid .user-profile-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.teacher-onboarding-wizard .wizard-form .wizard-grid .user-profile-switches .user-profile-switch {
    margin: 0;
}

.wizard-static-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ececec;
    background: var(--sb-neutral-25);
}

.wizard-static-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #7a7a7a;
}

.wizard-static-value {
    font-size: 15px;
    color: var(--sb-neutral-850);
    font-weight: 600;
}

.teacher-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teacher-summary-card {
    background: var(--sb-neutral-0);
    border-radius: 18px;
    border: 1px solid #ececec;
    box-shadow: 0 22px 38px -32px rgba(0, 0, 0, 0.4);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teacher-summary-card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--sb-neutral-850);
}

.teacher-summary-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.teacher-summary-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.teacher-summary-row dt {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7a7a7a;
}

.teacher-summary-row dd {
    margin: 0;
    font-size: 15px;
    color: var(--sb-neutral-850);
    font-weight: 600;
    word-break: break-word;
}

.teacher-summary-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b6b6b;
}

@media (max-width: 1024px) {
    .teacher-onboarding-wizard .wizard-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .teacher-summary {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .teacher-summary-card {
        flex: 1 1 280px;
    }}

.notifications-btn.primary {
    background: var(--sb-blue-500);
    color: var(--sb-neutral-0);
    border-color: var(--sb-blue-500);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.notifications-btn.primary:hover {
    background: var(--sb-blue-600);
    border-color: var(--sb-blue-600);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
}

.notifications-btn.ghost {
    background: var(--sb-neutral-0);
    color: #1f2933;
    border-color: rgba(15, 23, 42, 0.15);
}

.notifications-btn.ghost:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--sb-blue-700);
}

.notifications-btn.text {
    background: transparent;
    color: var(--sb-blue-600);
    padding: 0.35rem 0.5rem;
    border: none;
    font-weight: 600;
    box-shadow: none;
}

.notifications-btn.text:hover {
    color: var(--sb-blue-700);
}

.summary-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--sb-neutral-0);
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.summary-card.is-highlight {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.18);
}

.summary-card.is-highlight .summary-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.5));
    color: var(--sb-neutral-0);
}

.summary-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #486581;
}

.summary-value {
    font-size: 1.7rem;
    line-height: 1;
    color: #0b1d33;
}

.filter-chip.is-active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--sb-blue-700);
}

.notification-card.is-unread {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

.status-success {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.status-danger {
    background: rgba(220, 38, 38, 0.16);
    color: var(--sb-red-800);
}

.timeline-item.is-critical .timeline-marker {
    background: rgba(220, 38, 38, 0.15);
    color: var(--sb-red-700);
}

.preferences .preference-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 16px;
    padding: 1rem;
    align-items: center;
}

.toggle-switch.is-active {
    background: rgba(59, 130, 246, 0.6);
}

.toggle-switch.is-active .switch-circle {
    transform: translateX(22px);
}

@media (max-width: 540px) {

    .summary-card {
        padding: 1rem;
    }}

.user-receipt-card__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sb-neutral-800);
}

.user-receipt-card__value--warning {
    color: var(--sb-red-700);
}

.user-receipt-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.12);
    color: var(--sb-blue-700);
}

.user-receipt-card__status.is-paid {
    background: rgba(16, 185, 129, 0.12);
    color: var(--sb-green-700);
}

.user-receipt-card__status.is-pending {
    background: rgba(251, 191, 36, 0.16);
    color: #c2410c;
}

.user-receipt-card__status.is-overdue {
    background: rgba(248, 113, 113, 0.18);
    color: var(--sb-red-700);
}

.user-receipt-detail-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.user-receipt-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.user-receipt-preview {
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 22px 48px -28px rgba(15, 23, 42, 0.6);
}

@media (min-width: 992px) {
    .user-receipt-detail-actions {
        justify-content: flex-start;
        gap: 1rem;
    }}

@media (max-width: 640px) {

    .user-receipt-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .user-receipt-detail-actions .rz-button {
        width: 100%;
    }}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.mass-notifications-container {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: #fff1ed;
    color: var(--sb-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.brand-text h1 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--sb-neutral-800);
    font-weight: 700;
}

.brand-text p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--sb-neutral-400);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stats-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--sb-neutral-50);
    border: 1px solid var(--sb-neutral-100);
    border-radius: 8px;
    color: var(--sb-neutral-600);
    font-size: 0.9rem;
}

.stat-badge i {
    color: var(--sb-neutral-400);
}

.stat-badge b {
    color: var(--sb-neutral-800);
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mn-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px;
    background: var(--sb-neutral-0);
    border: 1px solid var(--sb-neutral-200);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    width: fit-content;
    max-width: 100%;
}

.mn-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    background: var(--sb-neutral-50);
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--sb-neutral-500);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.mn-tab:hover {
    background: #fff4ef;
    border-color: #fec9b8;
    color: var(--sb-brand);
}

.mn-tab.active {
    background: var(--sb-brand);
    border-color: var(--sb-brand);
    color: var(--sb-neutral-0);
    box-shadow: 0 8px 18px rgba(200, 40, 0, 0.18);
}

.mn-tab.active i {
    color: var(--sb-neutral-0);
}

.left-panel,
.right-panel {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.push-logs-panel {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.push-logs-header,
.push-log-summary,
.push-log-meta,
.push-log-title,
.push-log-stats {
    display: flex;
    align-items: center;
}

.push-logs-header {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sb-neutral-100);
}

.push-log-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.push-logs-header h3 {
    margin: 0;
    color: var(--sb-neutral-800);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.push-logs-header p {
    margin: 4px 0 0;
    color: var(--sb-neutral-500);
    font-size: 0.9rem;
}

.push-log-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.push-log-item {
    border: 1px solid var(--sb-neutral-200);
    border-radius: 8px;
    padding: 16px;
    background: var(--sb-neutral-0);
}

.push-log-summary {
    justify-content: space-between;
    gap: 16px;
}

.push-log-title {
    gap: 12px;
    min-width: 0;
}

.push-log-title h4 {
    margin: 0;
    color: var(--sb-neutral-800);
    font-size: 1rem;
    font-weight: 800;
}

.push-log-title p {
    margin: 4px 0 0;
    color: var(--sb-neutral-500);
    font-size: 0.9rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.push-log-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.push-log-icon.success {
    color: #15803d;
    background: var(--sb-green-100);
}

.push-log-icon.warning {
    color: var(--sb-amber-700);
    background: var(--sb-amber-100);
}

.push-log-icon.neutral {
    color: var(--sb-neutral-600);
    background: var(--sb-neutral-100);
}

.push-log-meta {
    gap: 12px;
    color: var(--sb-neutral-500);
    font-size: 0.85rem;
    white-space: nowrap;
}

.push-log-stats {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.push-chip,
.push-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 10px;
}

.push-chip {
    border: 1px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.push-chip:hover:not(:disabled) {
    transform: translateY(-1px);
}

.push-chip.active {
    border-color: currentColor;
    box-shadow: 0 0 0 3px rgba(200, 40, 0, 0.12);
}

.push-chip:disabled {
    cursor: default;
    opacity: 0.68;
}

.push-chip.success,
.push-status.success {
    color: var(--sb-green-800);
    background: var(--sb-green-100);
}

.push-chip.danger,
.push-status.danger {
    color: var(--sb-red-800);
    background: var(--sb-red-100);
}

.push-chip.warning,
.push-status.warning {
    color: var(--sb-amber-700);
    background: var(--sb-amber-100);
}

.push-chip.muted,
.push-status.muted {
    color: var(--sb-neutral-600);
    background: var(--sb-neutral-100);
}

.push-log-details {
    margin-top: 14px;
    overflow-x: auto;
}

.push-log-detail-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: #fff7ed;
    border: 1px solid var(--sb-amber-200);
    border-radius: 8px;
    color: #9a3412;
    font-size: 0.8rem;
    font-weight: 800;
}

.push-log-detail-filter button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: var(--sb-brand);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.push-log-detail-filter button:hover {
    color: var(--sb-red-800);
}

.push-log-details table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.push-log-details th {
    text-align: left;
    color: var(--sb-neutral-500);
    background: var(--sb-neutral-50);
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 10px 12px;
}

.push-log-details td {
    border-top: 1px solid var(--sb-neutral-100);
    color: var(--sb-neutral-700);
    font-size: 0.85rem;
    padding: 12px;
    vertical-align: top;
}

.push-log-details td span {
    display: block;
    color: var(--sb-neutral-400);
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.push-log-details td:nth-child(4) {
    max-width: 360px;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .page-topbar,
    .push-logs-header,
    .push-log-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-section,
    .push-log-meta {
        flex-wrap: wrap;
    }

    .mn-tabs {
        overflow-x: auto;
        width: 100%;
    }}

.panel-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sb-neutral-100);
}

.panel-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--sb-neutral-800);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Search Results */
.search-container {
    margin-bottom: 20px;
    position: relative;
}

.form-control-custom {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--sb-neutral-200);
    border-radius: 8px;
    font-size: 0.95rem;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sb-neutral-400);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: var(--sb-z-sticky);
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--sb-neutral-200);
}

.search-result-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: var(--sb-neutral-50);
}

.avatar {
    width: 36px;
    height: 36px;
    background: var(--sb-brand);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.role-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-student {
    background: var(--sb-green-100);
    color: var(--sb-green-800);
}

.badge-prof {
    background: var(--sb-amber-100);
    color: var(--sb-amber-700);
}

.badge-admin {
    background: var(--sb-red-100);
    color: var(--sb-red-800);
}

.badge-default {
    background: var(--sb-neutral-100);
    color: var(--sb-neutral-600);
}

.btn-icon-danger {
    background: var(--sb-red-100);
    color: var(--sb-red-500);
    border: none;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon-danger:hover {
    background: var(--sb-red-200);
    color: var(--sb-red-600);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: var(--sb-neutral-50);
    border-radius: 12px;
    border: 2px dashed var(--sb-neutral-200);
}

.empty-icon {
    font-size: 2.5rem;
    color: var(--sb-neutral-300);
    margin-bottom: 16px;
}

.custom-grid {
    border: none !important;
}

.btn-send {
    width: 100%;
    padding: 14px;
    background: var(--sb-brand);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-send:hover:not(.disabled) {
    background: #a92300;
}

.btn-send.disabled {
    background: var(--sb-neutral-400);
    cursor: not-allowed;
}

/* MODAL FILTROS MASIVOS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--sb-z-modal);
}

.filter-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: modalFadeIn 0.2s ease-out;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--sb-neutral-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--sb-neutral-50);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--sb-neutral-800);
    font-weight: 600;
}

.btn-close-custom {
    background: none;
    border: none;
    color: var(--sb-neutral-400);
    cursor: pointer;
    font-size: 1.2rem;
}

.modal-body {
    padding: 20px;
}

.form-group-custom {
    margin-bottom: 16px;
}

.form-group-custom label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sb-neutral-600);
}

.info-banner {
    background: #fff4ef;
    color: var(--sb-brand);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.modal-footer {
    padding: 12px 20px;
    background: var(--sb-neutral-50);
    border-top: 1px solid var(--sb-neutral-100);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* BOTON FILTROS ESTILO BADGE */
.mn-btn-filter {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 16px !important;
    background: var(--sb-neutral-50) !important;
    border: 1px solid var(--sb-neutral-100) !important;
    border-radius: 8px !important;
    color: var(--sb-neutral-600) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.mn-btn-filter:hover {
    background: #fff4ef !important;
    border-color: #fec9b8 !important;
    color: var(--sb-brand) !important;
}

.mn-btn-filter.active {
    background: #fff4ef !important;
    border-color: var(--sb-brand) !important;
    color: var(--sb-brand) !important;
}

/* MEJORAS AL MODAL DE FILTROS */
.filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-cancel-custom:hover {
    background: var(--sb-neutral-200) !important;
}

.mn-btn-secondary {
    background: var(--sb-neutral-100);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: var(--sb-neutral-600);
    transition: background 0.2s;
}

.mn-btn-secondary:hover {
    background: var(--sb-neutral-200);
}

.mn-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sb-red-50);
    border: 1px solid var(--sb-red-200);
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    color: var(--sb-red-700);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mn-btn-danger:hover {
    background: var(--sb-red-100);
    border-color: var(--sb-red-200);
    color: var(--sb-red-800);
}

.send-all-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #fff7ed;
    border: 1px solid var(--sb-amber-200);
    border-radius: 10px;
}

.send-all-box label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    color: #9a3412;
    font-size: 0.92rem;
    font-weight: 800;
}

.send-all-summary {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    border: 1px dashed var(--sb-amber-200);
    border-radius: 12px;
    background: #fffaf5;
    padding: 24px;
}

.send-all-summary h4 {
    margin: 0;
    color: var(--sb-neutral-800);
    font-weight: 800;
}

.send-all-summary p {
    margin: 0;
    color: var(--sb-neutral-500);
    font-size: 0.9rem;
}

/* ESTILOS ADICIONALES PARA EL MODAL */
.filter-modal .modal-body {
    padding: 24px;
}

.filter-modal .form-group-custom label {
    margin-bottom: 8px;
    color: var(--sb-neutral-800);
    font-size: 0.9rem;
}

.filter-modal .RadzenDropDown {
    border-radius: 8px !important;
}

.btn-cancel-custom {
    background: var(--sb-neutral-100);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: var(--sb-neutral-600);
    transition: all 0.2s;
}

.btn-cancel-custom:hover {
    background: var(--sb-neutral-200);
    color: var(--sb-neutral-800);
}

/* SELECT PERSONALIZADO PARA NOTIFICACIONES */
.mn-select {
    width: 100%;
    height: 42px;
    padding: 0 40px 0 16px;
    border: 1px solid var(--sb-neutral-200);
    border-radius: 8px;
    background-color: white;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--sb-neutral-800);
    cursor: pointer;
    appearance: none;
    background-image: url("" data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2' %3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E"");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: all 0.2s ease;
}

.mn-select:focus {
    border-color: var(--sb-brand);
    box-shadow: 0 0 0 3px rgba(200, 40, 0, 0.1);
    outline: none;
}

.mn-select:hover {
    border-color: var(--sb-neutral-300);
}

.mn-select option {
    padding: 12px;
    font-size: 0.95rem;
}
.home-class-detail-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-class-detail-header {
    background: linear-gradient(135deg, #10243e, var(--sb-brand));
    color: var(--sb-neutral-0);
    border-radius: 20px;
    padding: 1.25rem;
}

.home-class-detail-list {
    background: var(--sb-neutral-0);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
}