:root {
    --auth-brand: #0f766e;
    --auth-accent: #16a34a;
    --auth-surface: #fff;
    --auth-bg: #ecfdf5;
    --auth-radius: 24px;
    --auth-image: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Tahoma, Arial, sans-serif; color: #15332f; }
.auth-body {
    min-height: 100vh;
    background-image: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--auth-accent) 20%, transparent), transparent 35%), linear-gradient(145deg, color-mix(in srgb, var(--auth-bg) 94%, transparent), color-mix(in srgb, #f8fafc 94%, transparent)), var(--auth-image);
    background-size: auto, auto, cover;
    background-position: center;
    background-attachment: fixed;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}
.auth-shell { width: min(100%, 560px); }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--auth-brand); text-decoration: none; font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.auth-brand img { width: 54px; height: 54px; object-fit: contain; }
.auth-card { background: var(--auth-surface); border: 1px solid color-mix(in srgb, var(--auth-brand) 15%, #e2e8f0); border-radius: var(--auth-radius); padding: clamp(24px, 5vw, 42px); box-shadow: 0 24px 70px rgba(15, 118, 110, .13); }
.auth-heading span, .status-pill { display: inline-block; color: var(--auth-accent); font-weight: 800; font-size: .82rem; letter-spacing: .04em; }
.auth-heading h1, .maintenance-card h1 { font-size: clamp(1.7rem, 5vw, 2.35rem); margin: .35rem 0; }
.auth-heading p, .maintenance-card p { color: #526963; line-height: 1.8; margin-top: 0; }
.auth-form { display: grid; gap: 16px; margin-top: 24px; }
.auth-form label { display: grid; gap: 7px; font-weight: 700; }
.auth-form input { width: 100%; border: 1px solid #cad8d4; border-radius: 12px; padding: 13px 14px; font: inherit; outline: none; }
.auth-form input:focus { border-color: var(--auth-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--auth-brand) 12%, transparent); }
.auth-form small { font-weight: 400; color: #64748b; }
.auth-form button, .google-button { border: 0; border-radius: 12px; padding: 14px 18px; background: linear-gradient(135deg, var(--auth-brand), var(--auth-accent)); color: white; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; text-align: center; }
.auth-form button.secondary { background: #e2e8f0; color: #17352f; }
.google-button { display: block; margin-top: 12px; background: white; color: #243b36; border: 1px solid #cad8d4; }
.auth-check { display: flex !important; grid-template-columns: auto 1fr !important; align-items: center; justify-content: flex-start; font-weight: 500 !important; }
.auth-check input { width: auto; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.auth-links a, .auth-back { color: var(--auth-brand); font-weight: 700; }
.auth-back { display: block; text-align: center; margin-top: 18px; }
.auth-alert { border-radius: 12px; padding: 12px 15px; margin-bottom: 18px; }
.auth-alert ul { margin: 0; padding-inline-start: 18px; }
.auth-alert.success { background: #dcfce7; color: #166534; }
.auth-alert.error { background: #fee2e2; color: #991b1b; }
.auth-alert.warning { background: #fef3c7; color: #92400e; }
.otp-input { text-align: center; letter-spacing: .65em; font-size: 1.6rem; }
.auth-inline { text-align: center; margin-top: 14px; }
.auth-inline button { border: 0; background: none; color: var(--auth-brand); font-weight: 700; cursor: pointer; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.account-stats div { background: #f1f5f4; padding: 14px; border-radius: 14px; text-align: center; }
.account-stats strong, .account-stats span { display: block; }
.account-stats strong { font-size: 1.25rem; color: var(--auth-brand); }
.account-stats span { font-size: .78rem; color: #64748b; margin-top: 4px; }
.orders-list { display: grid; gap: 8px; }
.orders-list article { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 12px; background: #f8fafc; border-radius: 10px; }
.maintenance-card { text-align: center; padding-block: 60px; }
@media (max-width: 520px) {
    .auth-body { padding: 14px; }
    .auth-card { border-radius: min(var(--auth-radius), 18px); }
    .account-stats { grid-template-columns: 1fr; }
    .orders-list article { grid-template-columns: 1fr 1fr; }
    .orders-list time { grid-column: 1 / -1; }
}
