/* ── AiOpeak Web Onboarding ──────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 24px;
}

/* ── Card ──────────────────────────────────────────────── */

.card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #38bdf8;
    text-align: center;
    letter-spacing: -0.5px;
}

.subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    margin-top: 4px;
    margin-bottom: 28px;
}

/* ── Form ──────────────────────────────────────────────── */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input::placeholder {
    color: #475569;
}

.form-group input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.hint {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.hint strong {
    color: #94a3b8;
}

/* ── Google Button ─────────────────────────────────────── */

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    margin-top: 24px;
    background: #ffffff;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-google:hover {
    background: #f1f5f9;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

.google-icon {
    flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────────── */

.footer-note {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 20px;
    line-height: 1.5;
}

/* ── Success Page ──────────────────────────────────────── */

.success-card {
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #059669;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card h1 {
    font-size: 24px;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.welcome {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 16px;
}

.info {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.phone-display {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.phone-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.phone-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
}

.caller-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
}

.btn-back {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.btn-back:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}
