/* =========================================
   ESTILOS BASE DE LA APLICACI�N
   ========================================= */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

code {
    color: #c02d76;
}

/* =========================================
   BLAZOR UI Y MENSAJES DE ERROR
   ========================================= */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
    }

/* =========================================
   PANTALLA DE CARGA INICIAL
   ========================================= */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
}

.animated-background {
    position: absolute;
    width: 300%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 30%, #2a82b8 50%, #2a5298 70%, #1e3c72 100%);
    animation: gradientMove 8s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes gradientMove {
    0% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(10%);
    }
}

.splash-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.splash-logo {
    width: 280px;
    max-width: 90vw;
    margin-bottom: 30px;
}

.splash-text {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: white;
    font-weight: 300;
}

.splash-screen .spinner-border.text-white {
    width: 3rem;
    height: 3rem;
}

/* Estilos para la carga inicial de Blazor */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loading-text {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #333;
}

/* =========================================
   P�GINA DE LOGIN
   ========================================= */
.login-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 35%, #2a82b8 75%, #1e3c72 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -1;
}

/* Estilos para el campo de contrase�a con bot�n integrado */
.password-input-container {
    position: relative;
    width: 100%;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
}

.password-field {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.password-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    background-color: white;
    border: 1px solid #ced4da;
    border-left: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .password-toggle-btn:hover,
    .password-toggle-btn:focus {
        color: #1e3c72;
        outline: none;
        background-color: #f8f9fa;
    }

    .password-toggle-btn:active {
        background-color: #e9ecef;
    }

/* Ajustes para componentes Radzen */
.password-field.rz-textbox,
.password-field.rz-password {
    border-right: none !important;
}

/* Corregir altura del bot�n para que coincida con el campo */
.password-wrapper .rz-textbox,
.password-wrapper .rz-password {
    height: auto;
    min-height: 38px;
}

.password-toggle-btn i {
    font-size: 1rem;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-card-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 1;
}

.login-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    padding: 1.5rem !important;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .login-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    }

.login-logo {
    width: 200px;
    max-width: 80%;
    margin-bottom: 15px;
}

.login-title {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.login-form {
    padding: 0.5rem 0;
}

/* Estilos para los campos de formulario con etiquetas fuera del campo */
.form-field-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-field-label {
    display: block;
    font-weight: 500;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Asegurar que los campos Radzen tengan el espacio suficiente */
.form-field-container .rz-textbox,
.form-field-container .rz-password {
    padding: 10px 16px;
    height: auto !important;
    width: 100%;
}

/* Estilo para el bot�n de inicio de sesi�n */
.login-button {
    padding: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    border-radius: 6px !important;
    background: linear-gradient(to right, #1e3c72, #2a82b8) !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(42, 82, 152, 0.3) !important;
    transition: all 0.3s ease !important;
}

    .login-button:hover {
        box-shadow: 0 6px 15px rgba(42, 82, 152, 0.4) !important;
        transform: translateY(-2px);
    }

/* =========================================
   NAVEGACI�N Y LAYOUT
   ========================================= */
/* Estilos para navbar fijo */
.navbar-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* Estilos para las opciones del navbar */
.navbar .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .navbar .nav-link:hover {
        background-color: #f8f9fa;
    }

    .navbar .nav-link.active {
        background-color: #e9f0ff;
        color: #0d6efd !important;
    }

    .navbar .nav-link i {
        font-size: 1.1rem;
    }

.navbar-brand {
    font-size: 1.3rem;
    padding: 0.5rem 0;
}

/* Ajustes para el bot�n de cierre de sesi�n */
.btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
}

    .btn-outline-primary:hover {
        background-color: #0d6efd;
        color: #fff;
    }

/* =========================================
   COMPONENTES
   ========================================= */
/* Estilos para tarjetas del dashboard */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    }

    .card .bi {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

/* Personalizaci�n de campos de formulario Radzen */
:root .rz-textbox,
:root .rz-password {
    width: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

    :root .rz-textbox:focus,
    :root .rz-password:focus {
        border-color: #2a82b8;
        box-shadow: 0 0 0 3px rgba(42, 130, 184, 0.2);
    }

/* Personalizaci�n del label del campo */
:root .rz-field-label {
    font-weight: 500;
    color: #1e3c72;
}

/* Estilo global para botones primarios */
:root .rz-button.rz-primary {
    background-color: #1e3c72 !important;
    background: linear-gradient(to right, #1e3c72, #2a82b8) !important;
    border: none !important;
}

    :root .rz-button.rz-primary:hover {
        background: linear-gradient(to right, #16325f, #2372a3) !important;
    }

/* Estilos para validadores */
:root .rz-message-popup {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.85rem;
}

/* =========================================
   AJUSTES RESPONSIVOS
   ========================================= */
/* Ajustes para dispositivos m�viles */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

        .navbar-collapse.show {
            display: block;
        }
}

@media (max-width: 576px) {
    .login-card-container {
        padding: 15px;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }
}

/* =========================================
   LAYOUT CON SIDEBAR
   ========================================= */
.page {
    display: flex;
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 180px;
    height: 100%;
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    color: white;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1030;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-collapsed .sidebar {
    width: 70px;
}

.sidebar-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    height: 35px;
    transition: opacity 0.3s ease;
}

.sidebar-collapsed .sidebar-logo {
    opacity: 0;
    width: 0;
    height: 0;
}

.sidebar-toggle {
    background: transparent;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .sidebar-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

/* Estilos para el men� de navegaci�n */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 0;
    white-space: nowrap;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.15);
        color: white !important;
        font-weight: 500;
        border-right: 3px solid #2a82b8;
    }

    .nav-link i {
        font-size: 1.25rem;
        min-width: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.nav-text {
    margin-left: 0.5rem;
    transition: opacity 0.2s ease, width 0.2s ease;
}

.sidebar-collapsed .nav-text {
    opacity: 0;
    width: 0;
    display: none;
}

/* Contenido principal */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: margin-left 0.3s ease;
}

/* Encabezado principal */
.main-header {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background-color: white;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-title {
    flex: 1;
}

    .header-title h4 {
        color: #1e3c72;
        margin: 0;
    }

.mobile-toggle {
    margin-right: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
}

    .user-profile .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .user-profile .bi-person-circle {
        font-size: 1.2rem;
    }

.logout-link:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}

/* Estilos para el contenido */
.content {
    flex: 1;
    overflow-y: auto;
    background-color: #f8f9fb;
}

/* =========================================
   DASHBOARD
   ========================================= */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-welcome {
    background: linear-gradient(135deg, #1e3c72, #2a82b8);
    border-radius: 12px;
    padding: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.2);
}

.dashboard-welcome h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    color: #1e3c72;
    font-weight: 600;
    margin: 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.dashboard-card {
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 1.5rem;
    height: 100%;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: white;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50%;
}

.icon-users {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

.icon-roles {
    background: linear-gradient(135deg, #f857a6, #ff5858);
}

.icon-permissions {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.icon-pacientes {
    background: linear-gradient(135deg, #2193b0, #a8e063);
}

.icon-digiturno {
    background: linear-gradient(135deg, #2193b0, #ff9472);
}

.dashboard-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.dashboard-card-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.dashboard-card-button {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Decoraci�n de fondo para tarjetas */
.card-decoration {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.03);
    z-index: 0;
}

/* Adaptaciones responsivas */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        z-index: 1040;
    }

    .sidebar-collapsed .sidebar {
        transform: translateX(0);
        width: 180px;
    }

    .sidebar-collapsed .sidebar-logo {
        opacity: 1;
        width: auto;
        height: 35px;
    }

    .sidebar-collapsed .nav-text {
        opacity: 1;
        width: auto;
        display: inline;
    }

    main {
        margin-left: 0 !important;
    }

    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 993px) {
    .sidebar {
        transform: translateX(0) !important;
    }

    main {
        margin-left: 0;
    }

    .sidebar-collapsed main {
        margin-left: 0;
    }
}

/* =========================================
   PESTA�AS EN DIALOGOS CON TABLAS RADZEN Y PESTA�AS BOOTSTRAP
   ========================================= */
.custom-tabs .nav-link {
    border: 1px solid #3B5998;
    background-color: #3B5998;
}

    .custom-tabs .nav-link.active {
        color: black !important;
        background-color: #21252908;
        border-color: #21252908;
    }

    .custom-tabs .nav-link:hover:not(.active) {
        background-color: #e9ecef;
    }

/* Estilos para el contenedor de pesta�as */
.patient-tab-content {
    flex: 1;
    overflow: auto;
    min-height: 200px;
}

/* Estilos espec�ficos para el DataGrid de pacientes */
.patient-grid {
    width: 100%;
    height: auto;
    min-height: 300px;
}

    /* Estilo para los encabezados del DataGrid */
    .patient-grid .rz-datatable-thead th {
        background-color: #6C757D !important;
        color: white !important;
        font-weight: bold;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    /* Estilo para las filas del DataGrid */
    .patient-grid .rz-datatable-odd {
        background-color: rgba(0, 0, 0, 0.02);
    }

        .patient-grid .rz-datatable-even:hover,
        .patient-grid .rz-datatable-odd:hover {
            background-color: rgba(59, 89, 152, 0.1);
        }

/* Optimizaci�n para di�logos con contenido extenso */
.container-fluid.p-2 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* =========================================
   DATOS DE SESI�N EN UI Y MEN� DESPLEGABLE SESI�N
   ========================================= */

/* Estilo para el bot�n de usuario */
.user-dropdown-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.user-info {
    margin-left: 0.5rem;
    font-weight: 500;
}

/* Men� desplegable de usuario */
.user-dropdown-menu {
    min-width: 220px;
    padding: 0.5rem 0;
}

.dropdown-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}

h5.dropdown-header {
    color: #1e3c72;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

h6.dropdown-header {
    color: #333;
    font-size: 1rem;
    padding-left: 1.5rem;
}

/* =========================================
   FOOTER DE LA APLICACIÓN
   ========================================= */

/* Footer para la aplicación principal (dentro de main) */
.app-footer {
    background-color: #f8f9fb;
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    margin-top: auto;
    width: 100%;
}

.app-footer .footer-content {
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
}

.app-footer .footer-content p {
    margin-bottom: 0.25rem;
}

/* Footer para la página de login */
.login-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.login-footer .footer-content {
    color: white;
    font-size: 0.8rem;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.login-footer .footer-content p {
    margin-bottom: 0.25rem;
}

/* Ajustar el layout de main para que el footer se quede al final */
main {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

main .content {
    flex: 1;
    overflow-y: auto;
}

/* Ajustes responsivos para footers */
@media (max-width: 768px) {
    .app-footer .footer-content,
    .login-footer .footer-content {
        font-size: 0.75rem;
    }

    .app-footer {
        padding: 0.75rem 1rem;
    }

    .login-footer {
        padding: 0.75rem;
    }
}