/* ============================================================================
   Login - Página de inicio de sesión con diseño Material Design 3
   Usado en: usuarios/login.html
   ============================================================================ */

body.login-page {
    background: #0c1324;
    color: #dce1fb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
}

body.login-page > main.fade-in {
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #191f31;
    border: 1px solid #43474d;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #4F46E5, #9333EA);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(147, 51, 234, 0.15));
    border: 1px solid rgba(79, 70, 229, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.login-icon-wrapper .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 36px;
    color: #b0c8eb;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.login-header h2 {
    font-family: 'Manrope', sans-serif;
    color: #dce1fb;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #c4c6ce;
    font-size: 14px;
    margin: 0;
}

.login-form-group {
    margin-bottom: 1.25rem;
}

.login-form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #c4c6ce;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.login-input-wrapper {
    position: relative;
}

.login-input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #c4c6ce;
    display: inline-flex;
    align-items: center;
}

.login-input-icon .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.login-form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: #0c1324;
    border: 1px solid #43474d;
    border-radius: 0.5rem;
    color: #dce1fb;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.login-form-input::placeholder {
    color: rgba(196, 198, 206, 0.4);
}

.login-form-input:focus {
    outline: none;
    border-color: #b0c8eb;
    box-shadow: 0 0 0 3px rgba(176, 200, 235, 0.15);
}

.btn-login {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(to right, #4F46E5, #9333EA);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
    opacity: 0.95;
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.back-home {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #43474d;
}

.back-home a {
    color: #c4c6ce;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.15s;
}

.back-home a:hover {
    color: #b0c8eb;
    text-decoration: none;
}

.back-home a .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 16px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
