.encabezado {
    background-color: rgba(255, 255, 255, 1);
    padding-left: 104px;
    padding-right: 124px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 102px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo-encabezado img {
    height: 52px;
    width: 90px;
    margin-left: 15px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    font-weight: 700;
    font-size: 14px;
    color: rgba(88, 88, 90, 1);
    text-decoration: none;
}

.nav-links li a.active {
    color: transparent;
    background-image: linear-gradient(
        to right,
        rgba(8, 159, 228, 1),
        rgba(34, 74, 162, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links li a:hover {
    text-decoration: none;
    color: transparent;
    background-image: linear-gradient(
        to right,
        rgba(8, 159, 228, 1),
        rgba(34, 74, 162, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.boton-ingreso {
    background: linear-gradient(
        to right,
        rgba(8, 159, 228, 1),
        rgba(34, 74, 162, 1)
    );
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    width: 113px;
    height: 56px;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.boton-ingreso:hover {
    background: linear-gradient(
        to right,
        rgba(8, 159, 228, 0.7),
        rgba(34, 74, 162, 0.7)
    );
    color: rgba(255, 255, 255, 1);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: transparent;
    background-image: linear-gradient(
        to right,
        rgba(8, 159, 228, 1),
        rgba(34, 74, 162, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-toggle i {
    font-size: 28px;
    text-shadow: 0 0 1px rgba(0, 0, 0, 1), 0 0 1px rgba(0, 0, 0, 1);
}

.menu-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.menu-modal-content {
    background-color: rgba(255, 255, 255, 1);
    position: absolute;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 90px;
}

.menu-modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-modal-content ul li {
    margin: 35px 38px;
}

.menu-modal-content ul li a {
    text-decoration: none;
    color: rgba(88, 88, 90, 1);
    font-weight: 700;
    font-size: 14px;
}

.menu-modal-content ul li a.active {
    color: transparent;
    background-image: linear-gradient(
        to right,
        rgba(8, 159, 228, 1),
        rgba(34, 74, 162, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.usuario-dropdown {
    width: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.circulo {
    width: 56px;
    height: 56px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(5, 158, 219, 0.1);
}

.icono-usuario {
    font-size: 2.5rem;
    color: rgba(35, 94, 173, 1);
}

.img-perfil {
    object-fit: cover;
    object-position: center;
}

.dropdown-item {
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.text-danger i {
    color: rgba(235, 70, 70, 1);
}

.encabezado-bloqueado {
    pointer-events: none;
    opacity: 0.6;
}

.btn-swal-reiniciar {
    background: linear-gradient(
        to right,
        rgba(8, 159, 228, 1),
        rgba(34, 74, 162, 1)
    );
    color: rgba(255, 255, 255, 1);
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    width: 150px;
    height: 56px;
    margin-top: 15px;
    font-weight: 700;
}

.btn-swal-reiniciar:hover {
    background: linear-gradient(
        to right,
        rgba(8, 159, 228, 0.7),
        rgba(34, 74, 162, 0.7)
    );
    color: rgba(255, 255, 255, 1);
}

.btn-swal-cancelar {
    background: rgba(255, 255, 255, 1);
    color: rgba(34, 74, 162, 1);
    border: 1px solid rgba(34, 74, 162, 1);
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    width: 150px;
    height: 56px;
    margin-top: 15px;
    font-weight: 700;
}

.btn-swal-cancelar:hover {
    background: rgba(5, 158, 219, 0.1);
    color: rgba(34, 74, 162, 1);
    border: 1px solid rgba(34, 74, 162, 1);
}

.swal2-actions {
    gap: 15px;
}

@media (max-width: 1239px) {
    .encabezado {
        padding-left: 24px;
        padding-right: 35px;
    }

    .encabezado-content {
        justify-content: flex-start;
    }

    .nav-links {
        flex-direction: column;
        background-color: rgba(255, 255, 255, 1);
        position: absolute;
        top: 102px;
        left: 0;
        width: 100%;
        padding: 16px 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
