/**
 * Title: Hoja de Estilos de Autenticación (Moderna y Completa)
 * Slug: auth-styles-modern
 * Categories: Styles
 * Types: CSS
 * File Name: auth.css
 * path: assets/css/
 * Description: Estilos modernos para el login, registro y recuperación de contraseña.
 * Author: Nahum Flores Cruz
 * Email: gpocicsa@gmail.com
 * Version: 2026.1.0
 */

:root {
    --auth-bg-color: #f3f3f3;
    --auth-bg-txt-color: #e5e5e599 ;
    --auth-form-bg: #ffffff;
    --auth-text-color: #5a5c69;
    --auth-text-border-color: #e3e6f0;
    --auth-link-color: #4e73df;
    --auth-border: solid 1px #b9b9b985;
    --text-secondary:#787a83;
}

[data-theme="dark"] {
    --auth-bg-color: #1a1d23;
    --auth-bg-txt-color: #1a1d23a1 ;
    --auth-form-bg: #2d3038;
    --auth-text-color: #e3e6f0;
    --auth-text-border-color: #6e6e6f;
    --auth-link-color: #6c7ff2;
    --auth-border: solid 1px #8b8b8b55;
    --text-secondary:#878993;

}

body.auth-body {
    background-color: var(--auth-bg-color);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--auth-text-color);
}

.auth-main-row {
    min-height: 100vh;
}

.auth-form-column {
   /**  background-color: var(--auth-form-bg) !important;**/
}

.auth-info-column {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    color: #878787;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem 3rem;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: var(--auth-border);
    background-color: var(--auth-form-bg);
}

.auth-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--auth-text-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.auth-subtitle1 {
    color: var(--auth-text-color);
    font-size: 0.8rem;
    margin-bottom: .3rem;
}
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d70;
}
/* Form Styles */
.auth-form-container .form-group {
    margin-bottom: 1.5rem;
}

.auth-form-container .form-label {
    font-weight: 600;
    color: var(--auth-text-color);
    margin-bottom: 0.5rem;
}

.auth-form-container .form-control {
    height: 50px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--auth-text-border-color);
    border-radius: 8px;
    background-color: var(--auth-bg-txt-color)!important;
    color: var(--auth-text-color);
    transition: all 0.2s ease-in-out;
}

.auth-form-container .form-control:focus {
    border-color: var(--auth-text-border-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    background-color: var(--auth-form-bg)!important;

}

.auth-form-container .input-group-text {
    background-color: var(--auth-form-bg)!important;
    border: 1px solid var(--auth-text-border-color)!important;;
    border-right: none;
    color: var(--auth-text-color);
    border-radius: 8px 0 0 8px;
}

.auth-form-container .input-group:focus-within .input-group-text {
    border-color: #9d9c9ccc;
}

.auth-form-container .btn-primary {
    height: 50px;
    font-weight: 100;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.2s ease-in-out;
}

.auth-form-container .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-form-container .form-check-label {
    color: var(--text-secondary);
}

.auth-form-container a {
    color: var(--auth-link-color);
    font-size: 0.9rem;
    transition: color 0.2s ease-in-out;
}

.auth-form-container a:hover {
    color: var(--primary-color-hover);
    text-decoration: underline;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgb(255 255 255 / 29%);
    border: 1px solid rgb(107 107 107 / 18%);
    color: var(--text-primary);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1050;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Feature Box */
.feature-box {
    padding-bottom: 1rem;
}

.feature-box h5 {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991.98px) {
    .auth-info-column {
        display: none !important;
    }
    .auth-form-container {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }



}