/* ==========================================================
   GRANT — MAIN: AUTH PAGES, UNDER CONSTRUCTION, PLACEHOLDER
   ========================================================== */

/* ---- Auth pages ---- */
.auth-wrap {
    background: var(--gray-50);
    padding: 64px 0 80px;
    min-height: calc(100vh - var(--nav-h));
}

.auth-card {
    max-width: 920px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.auth-form-pane {
    padding: 50px 48px;
}

.auth-image-pane {
    position: relative;
    background: var(--primary-gradient);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 520px;
}

.auth-image-pane::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 40, 80, 0.28);
    z-index: 1;
}

.auth-image-pane::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    bottom: -100px;
    right: -80px;
    z-index: 1;
}

.auth-image-deco {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    top: -60px;
    left: -60px;
    z-index: 1;
}

.auth-heading {
    font-size: 27px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}

.auth-sub {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 36px;
    line-height: 1.5;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-foot {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 10px;
}

.auth-foot a { color: var(--primary); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

.auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    cursor: pointer;
    user-select: none;
}

.check-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--primary);
    cursor: pointer;
}

.auth-link { color: var(--primary); font-weight: 500; }
.auth-link:hover { text-decoration: underline; }

/* ---- Under construction ---- */
.construction-wrap {
    min-height: calc(100vh - var(--nav-h) - 260px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: radial-gradient(ellipse at 50% 0%, #e0f3fc 0%, #f0f9ff 40%, var(--gray-50) 100%);
}

.construction-inner {
    text-align: center;
    max-width: 580px;
}

.construction-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(41,168,224,.1);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 28px;
    border: 1px solid rgba(41,168,224,.2);
}

.construction-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--gray-900);
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.construction-title span { color: var(--primary); }

.construction-desc {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 44px;
}

.construction-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Placeholder dashboard (old) ---- */
.dash-wrap {
    padding: 80px 0;
    min-height: calc(100vh - var(--nav-h));
    background: var(--gray-50);
}

.dash-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 52px 48px;
    text-align: center;
}

.dash-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
}

.dash-card h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.dash-card p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 36px;
    line-height: 1.7;
}

.dash-meta {
    display: inline-flex;
    gap: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px 28px;
    margin-bottom: 36px;
    text-align: left;
}

.dash-meta-item label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 2px;
}

.dash-meta-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .auth-card { grid-template-columns: 1fr; max-width: 520px; }
    .auth-image-pane { display: none; }
    .auth-form-pane { padding: 44px 36px; }
}

@media (max-width: 768px) {
    .construction-title { font-size: 38px; letter-spacing: -1.5px; }
}

@media (max-width: 540px) {
    .auth-form-pane { padding: 36px 24px; }
    .construction-title { font-size: 30px; }
    .construction-desc { font-size: 15px; }
    .dash-card { padding: 36px 24px; }
    .dash-meta { flex-direction: column; gap: 14px; }
}
