/* ==========================================================================
   Leadzill.com — Base stylesheet
   Visual identity: deep navy, blue, white, subtle gradients, clean cards.
   Lightweight custom responsive CSS (no framework dependency).
   ========================================================================== */

:root {
    --navy: #0b1f3a;
    --navy-2: #0f2a52;
    --blue: #1d4ed8;
    --blue-2: #2563eb;
    --blue-light: #eff6ff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f1f5f9;
    --white: #ffffff;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #b45309;
    --warning-bg: #fffbeb;
    --radius: 12px;
    --shadow: 0 8px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: transform .05s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { background: transparent; color: var(--blue); border: 1px solid var(--line); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---- Auth pages ---- */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    background: radial-gradient(1200px 600px at 20% -10%, #16345f 0%, var(--navy) 55%);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    overflow: hidden;
}
.auth-card .brand {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    padding: 24px 28px;
}
.auth-card .brand .logo { font-size: 22px; font-weight: 800; letter-spacing: .3px; }
.auth-card .brand .tag { opacity: .85; font-size: 13px; margin-top: 4px; }
.auth-card .body { padding: 26px 28px 30px; }
.auth-card h1 { font-size: 20px; margin: 0 0 4px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---- Forms ---- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field .err { font-size: 12px; color: var(--danger); margin-top: 5px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 3px; }

/* ---- Alerts ---- */
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--danger-bg); color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

@media (max-width: 480px) {
    .auth-card .body { padding: 22px 20px 26px; }
}
