:root { --bg:#0b0e14; --bg-grad: radial-gradient(1200px 600px at 10% 0%, #111731 0%, transparent 60%), radial-gradient(1000px 500px at 100% 10%, #0c1538 0%, transparent 50%), #0b0e14; --card:#0f1422cc; --border:#1b2233; --text:#e8eaf2; --muted:#9aa4b2; --pri:#6ea8fe; --pri-2:#4b7df0; --ok:#22c55e; --warn:#f59e0b; --err:#ef4444; }
* { box-sizing: border-box; }
body { background: var(--bg-grad); color: var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; margin:0; min-height:100vh; display:flex; flex-direction:column; }
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px; }
.center { min-height: calc(100vh - 72px); display:flex; align-items:center; justify-content:center; padding: 24px; }
.header { position: sticky; top:0; backdrop-filter: blur(8px); background: #0b0e14cc; border-bottom: 1px solid var(--border); z-index: 10; }
.header .container { display:flex; align-items:center; justify-content: space-between; gap: 12px; }
.brand { display:flex; gap:10px; align-items:center; font-weight: 700; letter-spacing: .2px; }
.brand-badge { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--pri), #7b6eff); display:flex; align-items:center; justify-content:center; color:white; font-weight:800; }

.btn { background: var(--pri); color: white; border:0; padding: 10px 14px; border-radius: 10px; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:8px; transition: transform .05s ease, background .2s ease; }
.btn:hover { background: var(--pri-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-secondary { background:#273349; }
.btn-light { background:#1a2233; }
.btn-ghost { background: transparent; border:1px solid var(--border); }

.card { background: var(--card); border:1px solid var(--border); border-radius: 18px; padding: 28px; margin-top: 28px; box-shadow: 0 10px 30px #00000033; }
.card h2 { margin-top: 0; }

label { display:block; margin: 10px 0; font-weight: 600; }
.control { margin-top: 6px; }
input[type="text"], input[type="number"], input[type="password"], select { width: 100%; padding: 12px 14px; border-radius:10px; border:1px solid var(--border); background:#0c1220; color:var(--text); outline:none; transition: border .15s ease; }
input:focus, select:focus { border-color: var(--pri); }
fieldset { border:1px solid var(--border); padding: 14px; border-radius:12px; margin: 14px 0; }
.inline { display:flex; align-items:center; gap:8px; }
.muted { color: var(--muted); }
.grid { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px){ .grid { grid-template-columns: 1fr; } }
.pill-group { display:flex; gap:8px; flex-wrap:wrap; }
.pill { padding:10px 14px; border:1px solid var(--border); border-radius:999px; cursor:pointer; background:#0e1427; user-select:none; }
.pill.active { border-color: var(--pri); box-shadow: inset 0 0 0 1px var(--pri); }

.seg { display:flex; background:#0c1220; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.seg button { flex:1; padding:10px 12px; background:transparent; color:var(--text); border:0; cursor:pointer; }
.seg button.active { background:#15213e; }

.hero { text-align:center; margin-bottom: 14px; }
.hero h1 { margin: 0 0 8px 0; font-size: 28px; }
.hero p { margin: 0; color: var(--muted); }

.footer { margin-top:auto; padding: 12px 24px; color: var(--muted); text-align:center; border-top:1px solid var(--border); background:#0b0e1499; }
.space-between { display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.row { display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--border); padding: 14px 0; gap: 12px; }
.row-actions { display:flex; gap: 8px; flex-wrap: wrap; }

.toast { position: fixed; right: 24px; bottom: 24px; background: #10162acc; border:1px solid var(--border); color: var(--text); padding: 12px 16px; border-radius: 12px; max-width: 320px; box-shadow: 0 8px 20px #00000055; display:none; }
.toast.show { display:block; animation: fadeIn .15s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.spinner { width:16px; height:16px; border:2px solid #ffffff50; border-top-color:#fff; border-radius:50%; display:inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.cards { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px; }
@media (max-width: 920px){ .cards { grid-template-columns: 1fr; } }
.card-item { background:#0e1426; border:1px solid var(--border); border-radius:12px; padding:14px; display:flex; gap:12px; justify-content:space-between; align-items:flex-start; }
.badges { display:flex; gap:8px; flex-wrap:wrap; }
.badge { background:#0b1326; border:1px solid var(--border); padding:4px 8px; border-radius:999px; font-size:12px; color:var(--muted); }
.status { font-size:12px; padding:4px 8px; border-radius:999px; border:1px solid var(--border); }
.status.pending { color:#f59e0b; border-color:#f59e0b33; }
.status.accepted { color:#22c55e; border-color:#22c55e33; }
.status.rejected { color:#ef4444; border-color:#ef444433; }
.details { margin-top:10px; font-size:14px; color:var(--muted); }
.expand { background:transparent; border:1px solid var(--border); border-radius:8px; padding:8px 10px; color:var(--text); cursor:pointer; }


