* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a; color: #e2e8f0;
    display: flex; align-items: center; justify-content: center; min-height: 100vh;
}
.card {
    background: #1e293b; border: 1px solid #334155; border-radius: 12px;
    padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    overflow-wrap: anywhere;
}
h1 { font-size: 24px; margin-bottom: 8px; text-align: center; }
.subtitle { color: #94a3b8; font-size: 14px; text-align: center; margin-bottom: 24px; }
.scope-box {
    background: #0f172a; border: 1px solid #334155; border-radius: 8px;
    padding: 12px 16px; margin-bottom: 24px; font-size: 13px; color: #94a3b8;
}
.scope-box strong { color: #e2e8f0; }
.error {
    background: #fee; border: 1px solid #c00; padding: 10px;
    border-radius: 6px; margin-bottom: 16px; color: #c00;
}
label { display: block; font-size: 14px; margin-bottom: 6px; color: #cbd5e1; }
input[type="email"], input[type="password"] {
    width: 100%; padding: 10px 14px; background: #0f172a;
    border: 1px solid #475569; border-radius: 8px; color: #e2e8f0;
    font-size: 15px; margin-bottom: 16px; outline: none; transition: border-color 0.2s;
}
input:focus { border-color: #6366f1; }
button {
    width: 100%; padding: 12px; background: #6366f1; color: white;
    border: none; border-radius: 8px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background 0.2s;
}
button:hover { background: #4f46e5; }
.footer { text-align: center; margin-top: 16px; font-size: 12px; color: #64748b; }
.footer a { color: #6366f1; text-decoration: none; }
.button-row { display: flex; gap: 12px; }
.button-row button { flex: 1; }
.button-row button.deny { background: #334155; }
.button-row button.deny:hover { background: #475569; }
.button-row button.allow { background: #6366f1; }
.button-row button.allow:hover { background: #4f46e5; }
.write-opt-in {
    display: flex; gap: 10px; align-items: flex-start;
    margin-bottom: 24px; font-size: 13px; color: #94a3b8; line-height: 1.4;
}
.write-opt-in input[type="checkbox"] {
    width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; cursor: pointer;
}
.write-opt-in strong { color: #e2e8f0; }
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: #fff;
    color: #3c4043;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.google-btn:hover {
    background: #f7f8f8;
}

.apple-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid #000;
    border-radius: 8px;
    background: #000;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.apple-btn:hover {
    background: #1a1a1a;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0.75rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #334155;
}

.divider span {
    padding: 0 0.75rem;
}
