/**
 * assets/css/login.css
 * Dedicated Styles for Authentication (login.php)
 */

@import url('variables.css');

body.login-page,
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin: 0;
    padding: 1rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

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

.brand-header .brand-icon,
.brand-icon-login {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: none;
    box-shadow: none;
    width: auto;
    height: auto;
    border-radius: 0;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

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

.form-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 0 0.875rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-submit {
    width: 100%;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-hover);
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    text-align: center;
    font-weight: 500;
}
