:root { color-scheme: light; --green:#1f7a43; --green-dark:#145c31; --mint:#eaf7ef; --ink:#17221b; --muted:#667269; --line:#d9e3dc; --danger:#a42424; --warning:#9a6500; --bg:#f6f8f7; }
* { box-sizing:border-box; }
html { font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif; background:var(--bg); color:var(--ink); }
body { margin:0; min-height:100vh; }
a { color:var(--green-dark); }
.shell { width:min(1120px, calc(100% - 28px)); margin:0 auto; padding:24px 0 48px; }
.public-shell { width:min(760px, calc(100% - 28px)); margin:0 auto; padding:24px 0 48px; }
.hero-card { display:flex; gap:18px; align-items:center; background:linear-gradient(135deg,#143b25,#1f7a43); color:white; border-radius:24px; padding:clamp(22px,5vw,38px); margin-bottom:18px; box-shadow:0 16px 42px rgba(20,70,40,.18); }
.hero-card .brand-mark { flex:0 0 auto; background:white; color:var(--green-dark); }
.hero-card h1 { margin:2px 0 8px; font-size:clamp(1.55rem,4vw,2.25rem); }
.hero-card p { margin:0; line-height:1.85; color:#e7f4eb; }
.eyebrow { font-size:.84rem; font-weight:800; letter-spacing:.02em; }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.field-grid .wide { grid-column:1/-1; }
.consent-row { display:flex; align-items:flex-start; gap:10px; margin:18px 0; line-height:1.75; }
.consent-row input { width:auto; margin-top:6px; accent-color:var(--green); }
.primary { border:0; border-radius:14px; padding:13px 20px; background:var(--green); color:white; cursor:pointer; font-weight:800; }
.primary:disabled { opacity:.55; cursor:not-allowed; }
.status { min-height:26px; margin-top:13px; padding:10px 12px; border-radius:12px; }
.status:empty { padding:0; }
.status.success { background:#e7f7ed; color:#155c32; }.status.error { background:#fff0f0; color:#8d2020; }
.steps { margin-top:18px; }.steps li { margin:9px 0; line-height:1.7; }.secondary-link { font-weight:800; }
.brand { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.brand-mark { width:50px; height:50px; display:grid; place-items:center; border-radius:16px; background:var(--green); color:white; font-size:27px; font-weight:800; }
.brand h1 { font-size:1.1rem; margin:0; }
.card { background:white; border:1px solid var(--line); border-radius:24px; padding:clamp(20px,4vw,36px); box-shadow:0 14px 40px rgba(20,70,40,.07); }
.hero { text-align:center; padding-bottom:18px; }
.hero h2 { font-size:clamp(1.65rem,5vw,2.35rem); margin:0 0 10px; }
.hero p { color:var(--muted); line-height:1.9; margin:0; }
.grid { display:grid; gap:16px; }
.grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
label { font-weight:700; display:block; margin-bottom:7px; }
input,select,textarea,button { font:inherit; }
input,select,textarea { width:100%; border:1px solid #bfcac2; border-radius:14px; padding:13px 14px; background:white; color:var(--ink); outline:none; }
input:focus,select:focus,textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(31,122,67,.12); }
textarea { resize:vertical; min-height:130px; }
.field-note { color:var(--muted); font-size:.86rem; margin-top:5px; }
.consent { display:flex; gap:10px; align-items:flex-start; line-height:1.7; }
.consent input { width:auto; margin-top:7px; accent-color:var(--green); }
.honeypot { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(1px,1px,1px,1px)!important; }
.btn { border:0; border-radius:14px; padding:12px 18px; cursor:pointer; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; }
.btn-primary { background:var(--green); color:white; }
.btn-primary:hover { background:var(--green-dark); }
.btn-outline { background:white; color:var(--green-dark); border:1px solid var(--green); }
.btn-muted { background:#eef2ef; color:#29372d; }
.btn-danger { background:#fff0f0; color:var(--danger); border:1px solid #efc5c5; }
.btn:disabled { opacity:.55; cursor:not-allowed; }
.actions { display:flex; gap:10px; flex-wrap:wrap; }
.status-box { display:none; border-radius:14px; padding:14px; line-height:1.7; margin-top:16px; }
.status-box.show { display:block; }
.status-box.success { background:#e7f7ed; color:#155c32; border:1px solid #bce2ca; }
.status-box.error { background:#fff0f0; color:#8d2020; border:1px solid #efc5c5; }
.footer-links { text-align:center; margin-top:18px; color:var(--muted); display:flex; justify-content:center; gap:18px; flex-wrap:wrap; }
.admin-header { background:#152d20; color:white; }
.admin-header .shell { padding:14px 0; display:flex; justify-content:space-between; align-items:center; }
.admin-header h1 { margin:0; font-size:1.2rem; }
.tabs { display:flex; gap:8px; overflow:auto; padding:16px 0; }
.tab { white-space:nowrap; padding:10px 14px; border-radius:12px; background:white; border:1px solid var(--line); color:var(--ink); text-decoration:none; }
.tab.active { background:var(--green); color:white; border-color:var(--green); }
.stats { display:grid; grid-template-columns:repeat(6,minmax(130px,1fr)); gap:12px; overflow:auto; padding-bottom:4px; }
.stat { background:white; border:1px solid var(--line); border-radius:16px; padding:16px; }
.stat span { color:var(--muted); font-size:.86rem; display:block; }
.stat strong { font-size:1.7rem; display:block; margin-top:5px; }
.toolbar { display:grid; grid-template-columns:2fr 1fr 1fr auto; gap:10px; align-items:end; margin:18px 0; }
.table-wrap { overflow:auto; background:white; border:1px solid var(--line); border-radius:18px; }
table { width:100%; border-collapse:collapse; min-width:980px; }
th,td { padding:12px 11px; border-bottom:1px solid #edf1ee; text-align:right; vertical-align:top; }
th { background:#f3f7f4; position:sticky; top:0; z-index:1; }
.badge { display:inline-flex; border-radius:999px; padding:5px 9px; font-size:.8rem; font-weight:800; background:#edf2ef; }
.badge.pending { background:#fff5d9; color:#7a5100; }.badge.approved { background:#e7f2ff; color:#14528a; }.badge.play_added { background:#eee9ff; color:#5634a0; }.badge.invited { background:#e5f7eb; color:#176337; }.badge.rejected { background:#ffeaea; color:#922424; }
.row-actions { display:flex; gap:6px; flex-wrap:wrap; }
.row-actions .btn { padding:7px 9px; font-size:.78rem; }
.section-title { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:26px 0 12px; }
.section-title h2 { margin:0; }
.modal { position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; place-items:center; padding:20px; z-index:10; }
.modal.open { display:grid; }
.modal-card { background:white; width:min(660px,100%); max-height:90vh; overflow:auto; border-radius:20px; padding:22px; }
.hidden { display:none!important; }
.top-space { margin-top:16px; }
.small-top-space { margin-top:12px; }
.empty { text-align:center; color:var(--muted); padding:34px; }
@media (max-width:760px) { .grid-2,.toolbar,.field-grid { grid-template-columns:1fr; }.field-grid .wide { grid-column:auto; }.hero-card { align-items:flex-start; }.card { border-radius:18px; }.admin-header .shell { align-items:flex-start; gap:10px; }.stats { grid-template-columns:repeat(2,minmax(140px,1fr)); } }
