:root { --primary:#2563eb; --primary-dark:#1d4ed8; --text:#172033; --muted:#64748b; --border:#dbe3ef; --surface:#fff; --background:#f1f5f9; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; background:linear-gradient(135deg,#eff6ff,var(--background)); color:var(--text); font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.5; }
.container { width:min(100% - 32px,980px); margin:auto; padding:48px 0; }
.card { background:var(--surface); border:1px solid var(--border); border-radius:18px; box-shadow:0 16px 45px rgba(30,64,175,.09); padding:clamp(22px,4vw,42px); }
h1 { margin:0 0 8px; font-size:clamp(1.65rem,4vw,2.35rem); letter-spacing:-.03em; } .subtitle { margin:0 0 28px; color:var(--muted); }
.topbar { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:26px; } a { color:var(--primary-dark); }
label { display:block; margin:18px 0 8px; font-weight:650; }
textarea,input[type=text],input[type=email],input[type=password],input:not([type]) { width:100%; border:1px solid var(--border); border-radius:10px; background:#fbfdff; color:var(--text); font:inherit; padding:12px 14px; outline:none; }
textarea { min-height:150px; resize:vertical; } textarea:focus,input:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.card form { max-width:760px; } #email-list { width:100%; max-width:760px; } .email-row { display:flex; width:100%; gap:10px; margin:10px 0; align-items:center; } .email-row input[type=email] { flex:1 1 auto; width:auto; min-width:0; } .remove-email { flex:0 0 44px; width:44px; padding:10px; background:#e2e8f0; color:#334155; } .remove-email:hover { background:#cbd5e1; } .secondary-button { width:auto; margin-top:8px; background:#e0edff; color:#1d4ed8; } .secondary-button:hover { background:#c7dcff; }
button { border:0; border-radius:10px; background:var(--primary); color:white; cursor:pointer; font:inherit; font-weight:700; padding:11px 16px; } button:hover { background:var(--primary-dark); }
.form-actions { margin-top:24px; } .notice,.error { border-radius:10px; padding:12px 14px; } .notice { background:#eff6ff; color:#1e40af; } .error { background:#fef2f2; color:#991b1b; }
.table-wrap { overflow-x:auto; margin-top:24px; } table { width:100%; min-width:680px; border-collapse:collapse; background:var(--surface); } th,td { border-bottom:1px solid var(--border); padding:13px 14px; text-align:left; vertical-align:middle; } th { background:#f8fafc; color:#334155; font-size:.88rem; text-transform:uppercase; } tr:hover td { background:#f8fbff; }
.status { display:inline-block; border-radius:999px; padding:4px 10px; background:#e2e8f0; font-size:.85rem; font-weight:700; } .status.completed { background:#dcfce7; color:#166534; } .status.pending { background:#fef3c7; color:#92400e; } .status.failed { background:#fee2e2; color:#991b1b; } .small-button { padding:8px 11px; font-size:.9rem; white-space:nowrap; }
.status.rejected { background:#f1f5f9; color:#475569; } .action-stack { display:flex; flex-wrap:wrap; gap:8px; } .danger-button { background:#dc2626; } .danger-button:hover { background:#b91c1c; }
.modal-backdrop { position:fixed !important; inset:0 !important; z-index:9999 !important; display:flex !important; align-items:center !important; justify-content:center !important; padding:20px !important; background:rgba(15,23,42,.72) !important; }
.modal-backdrop.hidden { display:none !important; }
.modal { width:min(100%,460px); border-radius:18px; background:#fff; padding:28px; box-shadow:0 24px 70px rgba(15,23,42,.3); }
.modal h2 { margin:0 0 8px; } .modal p { color:var(--muted); } .modal-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:22px; } .modal-secondary { background:#e2e8f0; color:#334155; }
@media (max-width:640px) { .container { width:min(100% - 20px,980px); padding:20px 0; } .card { border-radius:14px; padding:20px 16px; } .topbar { align-items:flex-start; flex-direction:column; } button { width:100%; } .small-button { width:auto; } }
