/* css/login.css - Estilos para la página de login */
:root {
    --primary-color: #e60000;
    --secondary-color: #212529;
    --accent-color: #f8f9fa;
    --text-color: #495057;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--accent-color);
    height: 100vh;
    overflow-x: hidden;
}

.bg-image {
    background-image: url('../images/background-agya.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.7) 0%, rgba(230, 0, 0, 0.7) 100%);
}

.brand-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

.brand-message h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-message p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background-color: white;
}

.login-form-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: white;
}

.logo {
    max-width: 180px;
    margin-bottom: 1rem;
}

.nav-tabs {
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-around;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.75rem 1rem;
    margin-bottom: -2px;
    transition: var(--transition);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background-color: transparent;
}

.nav-tabs .nav-link:hover:not(.active) {
    color: var(--primary-color);
    background-color: transparent;
    border-color: transparent;
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-control {
    height: 48px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(230, 0, 0, 0.25);
}

.input-group-text {
    background-color: white;
    border-color: var(--light-gray);
    color: var(--secondary-color);
}

.toggle-password {
    border-color: var(--light-gray);
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    height: 48px;
    transition: var(--transition);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #c00000;
    border-color: #c00000;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(230, 0, 0, 0.2);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password:hover {
    color: #c00000;
    text-decoration: underline;
}

.password-strength {
    height: 5px;
    border-radius: 5px;
    margin-top: 0.5rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: #6c757d;
}

.password-strength {
    height: 5px;
    width: 100%;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.password-strength::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.password-strength.weak::before {
    background-color: #dc3545;
    width: 25%;
}

.password-strength.medium::before {
    background-color: #ffc107;
    width: 50%;
}

.password-strength.strong::before {
    background-color: #28a745;
    width: 100%;
}

.modal-content {
    border-radius: var(--border-radius);
}

.modal-header {
    border-bottom: 2px solid var(--light-gray);
}

.modal-footer {
    border-top: 2px solid var(--light-gray);
}

/* Media queries */
@media (max-width: 992px) {
    .login-form-container {
        max-width: 100%;
        box-shadow: none;
        padding: 1rem;
    }
    
    .login-container {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .brand-message h1 {
        font-size: 2rem;
    }
    
    .brand-message p {
        font-size: 1rem;
    }
}
/* Estilos para el video de fondo */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay semitransparente */
    z-index: 2;
}

.brand-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Cambio: posiciona el contenido hacia abajo */
}

.brand-message-bottom {
    width: 100%;
    padding: 0 3rem 3rem 3rem; /* Padding inferior para separar del borde */
}

.video-overlay-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    text-align: center;
}

.video-overlay-content h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive para dispositivos móviles */
@media (max-width: 991.98px) {
    .background-video {
        display: none;
    }
}

@media (max-width: 768px) {
    .video-overlay-content h1 {
        font-size: 1.8rem;
    }
    
    .brand-message-bottom {
        padding: 0 1.5rem 2rem 1.5rem;
    }
}