/* ============================================
   USUARIOS.CSS - Estilos del Módulo de Usuarios
   ============================================ */

/* ========== TARJETAS KPI ========== */
.kpi-card {
    border-left: 4px solid #F29425;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.kpi-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 32px;
}

.kpi-activos {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.kpi-inactivos {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.kpi-total {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.kpi-nuevos {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* ========== SECCIÓN DE FILTROS ========== */
.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.filter-label {
    font-weight: 600;
    color: #212121;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* ========== BADGES ========== */
.badge-activo {
    background-color: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.badge-inactivo {
    background-color: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

/* ========== MODAL PRINCIPAL ========== */
#modalusuario .modal-dialog {
    max-width: 1000px;
}

#modalusuario .modal-header {
    background: linear-gradient(135deg, #F29425 0%, #e67e22 100%);
    color: white;
    border-bottom: 3px solid #d68910;
    padding: 20px 25px;
}

#modalusuario .modal-title {
    font-weight: 600;
    font-size: 1.6rem;
}

#modalusuario .modal-body {
    padding: 25px 30px;
}

/* ========== PESTAÑAS ========== */
.nav-tabs-custom {
    border-bottom: 2px solid #F29425;
    margin-bottom: 25px;
}

.nav-tabs-custom .nav-link {
    color: #666;
    border: none;
    padding: 14px 24px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.nav-tabs-custom .nav-link:hover {
    color: #F29425;
    border-bottom: 2px solid #F29425;
    background: transparent;
}

.nav-tabs-custom .nav-link.active {
    color: #F29425;
    border-bottom: 3px solid #F29425;
    background: transparent;
}

.nav-tabs-custom .nav-link i {
    font-size: 1.1rem;
}

/* ========== LABELS CON ICONOS ========== */
#modalusuario .form-group label {
    font-weight: 600;
    color: #212121;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

#modalusuario .form-group label i {
    color: #F29425;
    margin-right: 8px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

#modalusuario .form-group label.required:after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
    margin-left: 4px;
}

/* ========== CAMPOS DE FORMULARIO ========== */
#modalusuario .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 1rem;
    height: auto;
    min-height: 45px;
    transition: all 0.3s ease;
}

#modalusuario .form-control:focus {
    border-color: #F29425;
    box-shadow: 0 0 0 0.2rem rgba(242, 148, 37, 0.15);
}

#modalusuario select.form-control {
    height: 45px;
    padding: 10px 16px;
    font-size: 1rem;
}

#modalusuario textarea.form-control {
    min-height: 100px;
}

#modalusuario input[type="date"].form-control {
    padding: 10px 16px;
}

/* ========== SECCIONES CON TÍTULOS ========== */
.section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #212121;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F29425;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #F29425;
    font-size: 1.2rem;
}

/* ========== CHECKBOXES PARA ROLES Y PROYECTOS ========== */
.checkbox-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    display: flex;
    align-items: center;
}

.checkbox-card:hover {
    border-color: #F29425;
    background: #fff8f0;
    transform: translateX(5px);
}

.checkbox-card input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-card input[type="checkbox"]:checked+label {
    color: #F29425;
    font-weight: 600;
}

.checkbox-card label {
    cursor: pointer;
    margin-bottom: 0;
    margin-left: 12px;
    font-size: 1rem;
    flex-grow: 1;
}

/* ========== CONTENEDOR DE ROLES Y PROYECTOS ========== */
.roles-proyectos-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

/* Scrollbar personalizado */
.roles-proyectos-container::-webkit-scrollbar {
    width: 10px;
}

.roles-proyectos-container::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.roles-proyectos-container::-webkit-scrollbar-thumb {
    background: #F29425;
    border-radius: 10px;
}

.roles-proyectos-container::-webkit-scrollbar-thumb:hover {
    background: #d68910;
}

/* ========== FOOTER DEL MODAL ========== */
#modalusuario .modal-footer {
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
    padding: 18px 25px;
}

#modalusuario .btn {
    padding: 12px 28px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#modalusuario .btn-success {
    background: #F29425;
    border-color: #F29425;
}

#modalusuario .btn-success:hover {
    background: #d68910;
    border-color: #d68910;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(242, 148, 37, 0.3);
}

#modalusuario .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
}

#modalusuario .btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
}

/* ========== TAB CONTENT ========== */
.tab-pane {
    padding-top: 20px;
}

/* ========== TEXTOS DE AYUDA ========== */
#modalusuario .form-text {
    font-size: 0.9rem;
    margin-top: 8px;
}

#modalusuario .form-text i {
    margin-right: 5px;
}

/* ========== MODAL RESETEAR PASSWORD ========== */
#modalResetearPassword .modal-dialog {
    max-width: 500px;
}

#modalResetearPassword .modal-header {
    background: linear-gradient(135deg, #F29425 0%, #e67e22 100%);
}

#modalResetearPassword .modal-body {
    padding: 25px 30px;
}

#modalResetearPassword .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 1rem;
    min-height: 45px;
}

#modalResetearPassword .form-control:focus {
    border-color: #F29425;
    box-shadow: 0 0 0 0.2rem rgba(242, 148, 37, 0.15);
}

#modalResetearPassword label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

#modalResetearPassword label i {
    margin-right: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    #modalusuario .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }

    .kpi-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .nav-tabs-custom .nav-link {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    #modalusuario .modal-dialog {
        max-width: 98%;
        margin: 5px auto;
    }

    #modalusuario .modal-body {
        padding: 20px 15px;
    }

    .checkbox-card {
        padding: 10px 12px;
    }

    .nav-tabs-custom .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .nav-tabs-custom .nav-link i {
        display: none;
    }

    .kpi-card {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1rem;
    }

    #modalusuario .form-control {
        font-size: 0.95rem;
        padding: 10px 14px;
    }
}

@media (max-width: 576px) {
    #modalusuario .modal-title {
        font-size: 1.3rem;
    }

    .roles-proyectos-container {
        max-height: 300px;
    }

    #modalusuario .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ========== UTILIDADES ========== */
.text-orange {
    color: #F29425 !important;
}

.bg-orange {
    background-color: #F29425 !important;
}

.border-orange {
    border-color: #F29425 !important;
}

/* ========== ICONOS EN INPUTS ========== */

.input-icon-group {
    position: relative;
}

.input-icon-group .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #F29425;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.input-icon-group .form-control {
    padding-left: 40px !important;
}

.input-icon-group select.form-control {
    padding-left: 40px !important;
}

/* ========================================
   CAMBIO DE CONTRASEÑA OBLIGATORIO
======================================== */
.password-strength-bar {
    margin-top: 10px;
}

.password-strength-bar .progress {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.password-strength-bar .progress-bar {
    transition: all 0.3s ease;
}

.requisitos-lista {
    margin-top: 15px;
    font-size: 0.9rem;
    padding-left: 0;
    list-style: none;
}

.requisitos-lista div {
    padding: 5px 0;
    transition: all 0.3s ease;
}

.requisito-cumplido {
    color: #00acac;
    font-weight: 500;
}

.requisito-pendiente {
    color: #6c757d;
}

.requisito-cumplido i,
.requisito-pendiente i {
    margin-right: 8px;
}

/* Colores corporativos para fortaleza de contraseña */
.strength-debil {
    background-color: #dc3545 !important;
}

.strength-media {
    background-color: #F29425 !important;
    /* Naranja corporativo */
}

.strength-fuerte {
    background-color: #00acac !important;
    /* Verde corporativo */
}

/* ========================================
   PÁGINA CAMBIAR CONTRASEÑA - DISEÑO PROFESIONAL
======================================== */

/* Ampliar el contenedor principal */
.login.login-v2 {
    max-width: 520px !important;
    width: 100% !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
}

/* Encabezado con gradiente corporativo */
.login.login-v2 .login-header {
    background: linear-gradient(135deg, #F29425 0%, #e67e22 100%) !important;
    padding: 30px !important;
    text-align: center !important;
}

/* Brand con ícono al lado */
.login.login-v2 .login-header .brand {
    color: white !important;
    font-size: 1.8rem !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
}

.login.login-v2 .login-header .brand i {
    font-size: 2rem !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ocultar icono viejo si existe */
.login.login-v2 .login-header .icon {
    display: none !important;
}

/* Logo corporativo - cambiar a naranja */
.login.login-v2 .login-header .logo {
    background-color: #F29425 !important;
}

/* Alerta de cambio obligatorio */
.login.login-v2 .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%) !important;
    border-left: 4px solid #F29425 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(242, 148, 37, 0.15) !important;
    color: #856404 !important;
}

/* Campos de formulario */
.login.login-v2 .form-control-lg {
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.login.login-v2 .form-control-lg:focus {
    border-color: #F29425 !important;
    box-shadow: 0 0 0 0.25rem rgba(242, 148, 37, 0.15) !important;
}

/* Labels - Color visible sobre fondo oscuro */
.login.login-v2 .form-group label {
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 10px !important;
    font-size: 0.95rem !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Barra de fortaleza mejorada */
.login.login-v2 .password-strength-bar {
    margin-top: 12px !important;
    padding: 12px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
}

.login.login-v2 .password-strength-bar .progress {
    height: 12px !important;
    background: #e9ecef !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.login.login-v2 #strength-text {
    display: block !important;
    text-align: center !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
    font-size: 0.9rem !important;
}

/* Lista de requisitos mejorada */
.login.login-v2 .requisitos-lista {
    margin-top: 12px !important;
    padding: 12px !important;
    background: white !important;
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
}

.login.login-v2 .requisitos-lista div {
    padding: 8px 0 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
}

.login.login-v2 .requisitos-lista i {
    margin-right: 10px !important;
    font-size: 1rem !important;
}

/* Texto de coincidencia */
.login.login-v2 #match-text {
    display: block !important;
    margin-top: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

/* Botón de cambiar contraseña - Colores corporativos */
.login.login-v2 .btn-success {
    background: linear-gradient(135deg, #F29425 0%, #e67e22 100%) !important;
    border: none !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(242, 148, 37, 0.3) !important;
    color: white !important;
}

.login.login-v2 .btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #d68910 0%, #d17512 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(242, 148, 37, 0.4) !important;
}

.login.login-v2 .btn-success:disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

/* Espaciado del contenido */
.login.login-v2 .login-content {
    padding: 30px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .login.login-v2 {
        max-width: 95% !important;
    }

    .login.login-v2 .login-header .brand {
        font-size: 1.5rem !important;
    }

    .login.login-v2 .login-header .brand i {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }

    .login.login-v2 .form-control-lg {
        font-size: 0.95rem !important;
        padding: 12px 16px !important;
    }

    .login.login-v2 .btn-success {
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }
}

/* ========================================
   LOGIN MODERNO - DISEÑO TECNOLÓGICO AVANZADO
======================================== */

/* Fondo animado tecnológico */
.login-cover {
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Grid tecnológico animado */
.login-cover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(242, 148, 37, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 148, 37, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 172, 172, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 172, 172, 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    animation: grid-move 20s linear infinite;
    opacity: 0.6;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Círculos brillantes flotantes */
.login-cover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(242, 148, 37, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 172, 172, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(242, 148, 37, 0.1) 0%, transparent 40%);
    animation: float-circles 15s ease-in-out infinite;
}

@keyframes float-circles {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}


/* Contenedor con efecto glassmorphism */
.login.login-v2 {
    margin-top: 10vh !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 100px rgba(242, 148, 37, 0.2) !important;
    max-width: 420px !important;
    width: 100% !important;
    animation: loginAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Líneas de escaneo tecnológicas */
.login.login-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F29425, transparent);
    animation: scan-line 3s linear infinite;
    z-index: 1;
}

@keyframes scan-line {
    0% {
        top: 0;
        left: -100%;
    }

    50% {
        top: 50%;
        left: 100%;
    }

    100% {
        top: 100%;
        left: -100%;
    }
}

/* Bordes brillantes */
.login.login-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(242, 148, 37, 0.5),
            rgba(0, 172, 172, 0.3),
            rgba(242, 148, 37, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-glow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes border-glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes loginAppear {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Header con efecto tecnológico */
.login.login-v2 .login-header {
    background: linear-gradient(135deg,
            rgba(242, 148, 37, 0.9) 0%,
            rgba(214, 137, 16, 0.9) 100%) !important;
    padding: 30px !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 2 !important;
}

/* Efecto de onda en el header */
.login.login-v2 .login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translate(-30px, -30px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Esquinas tecnológicas */
.login.login-v2 .login-header::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    border-right: 2px solid rgba(255, 255, 255, 0.4);
}

/* Logo con animación */
.login-logo-container {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.login-logo-container img {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: logoFloat 4s ease-in-out infinite, logoGlow 2s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 20px rgba(242, 148, 37, 0.6));
    }
}

/* Brand text mejorado */
.login.login-v2 .login-header .brand {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    }

    50% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

/* Contenido del login */
.login.login-v2 .login-content {
    padding: 30px !important;
    position: relative;
    z-index: 2;
}

/* Campos con efecto glassmorphism */
.login.login-v2 .form-control-lg {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-size: 1rem !important;
    color: #000 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.login.login-v2 .form-control-lg:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: #F29425 !important;
    box-shadow:
        0 0 0 4px rgba(242, 148, 37, 0.2),
        0 8px 16px rgba(242, 148, 37, 0.3) !important;
    transform: translateY(-2px);
}

.login.login-v2 .form-control-lg::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

/* Botón con efecto tecnológico */
.login.login-v2 .btn-success {
    background: linear-gradient(135deg, #F29425 0%, #d68910 100%) !important;
    border: none !important;
    padding: 15px 30px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    transition: all 0.4s ease !important;
    box-shadow:
        0 4px 20px rgba(242, 148, 37, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Efecto de brillo en el botón */
.login.login-v2 .btn-success::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: rotate(45deg);
    animation: button-shine 3s linear infinite;
}

@keyframes button-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.login.login-v2 .btn-success:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow:
        0 8px 30px rgba(242, 148, 37, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

.login.login-v2 .btn-success:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Links con color visible */
.login.login-v2 a {
    color: #F29425 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-shadow: 0 0 10px rgba(242, 148, 37, 0.5);
}

.login.login-v2 a:hover {
    color: #00acac !important;
    text-shadow: 0 0 20px rgba(0, 172, 172, 0.8);
    transform: translateX(5px);
}

/* Checkbox mejorado */
.login.login-v2 .checkbox-css label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Botón mostrar contraseña */
.login.login-v2 #togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    color: #F29425 !important;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.login.login-v2 #togglePassword:hover {
    color: #00acac !important;
    transform: translateY(-50%) scale(1.2) rotate(15deg);
}

/* Alertas mejoradas */
.login.login-v2 .alert {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    border-left: 4px solid !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    animation: alertSlide 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login.login-v2 .alert-danger {
    border-left-color: #dc3545 !important;
    color: #721c24 !important;
}

.login.login-v2 .alert-warning {
    border-left-color: #ffc107 !important;
    color: #856404 !important;
}

@keyframes alertSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ocultar icono viejo */
.login.login-v2 .login-header .icon {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .login.login-v2 {
        max-width: 95% !important;
        margin: 15px !important;
    }

    .login-logo-container img {
        max-width: 130px;
    }

    .login.login-v2 .login-header .brand {
        font-size: 1.2rem !important;
    }
}