/* ============================================================
   auth.css — Styles for authentication pages (IEQT Design)
   ============================================================ */

/* ---------- Auth page wrapper — two-column on wide screens ---------- */
.auth-wrapper {
    display: flex;
    min-height: calc(100vh - 68px - 88px);
    align-items: stretch;
}

/* Left brand panel */
.auth-brand-panel {
    display: none;
    flex: 1;
    background: var(--primary-dark);
    padding: 3rem 2.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

@media (min-width: 860px) {
    .auth-brand-panel { display: flex; }
}

.auth-brand-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.auth-brand-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.auth-brand-title strong {
    font-weight: 700;
    display: block;
}

.auth-brand-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    max-width: 320px;
}

.auth-brand-footer {
    margin-top: auto;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- Auth form panel ---------- */
.auth-form-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: var(--bg);
}

@media (min-width: 860px) {
    .auth-form-panel {
        min-height: 100%;
        padding: 3rem 2.5rem;
        border-left: 1px solid var(--border);
    }
}

/* ---------- Auth container card ---------- */
.auth-container {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

/* ---------- Auth header ---------- */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: block;
    height: 44px;
    width: auto;
    margin: 0 auto 1.25rem;
    object-fit: contain;
}

.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.auth-header p {
    color: var(--muted);
    font-size: 0.875rem;
}

/* ---------- Divider ---------- */
.auth-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

/* ---------- Form groups ---------- */
.form-group { margin-bottom: 1.25rem; }

label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(55, 122, 138, 0.14);
}

/* ---------- Remember me ---------- */
.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------- Submit button ---------- */
.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(55, 122, 138, 0.25);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 122, 138, 0.35);
}

/* ---------- Auth footer ---------- */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover { color: var(--primary-dark); }