:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #07111f; color: #ecf4ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 15% 10%, #16314d 0, transparent 35%), #07111f; }
.shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
.auth-card, .app { background: #0c192a; border: 1px solid #223650; border-radius: 20px; padding: 32px; box-shadow: 0 24px 80px #0005; }
.app-layout { padding: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); overflow: hidden; min-height: 680px; }
.auth-card { width: min(460px, 100%); margin: 9vh auto; }
.eyebrow { color: #b7f000; font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 8px; }
h1, h2, h3, p { margin-top: 0; } h1 { margin-bottom: 8px; } h2 { margin-bottom: 6px; }
.muted { color: #9bb0c7; line-height: 1.5; }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 7px; color: #c6d5e7; font-size: .9rem; }
input { width: 100%; background: #06101d; border: 1px solid #34506f; border-radius: 10px; color: inherit; padding: 12px; font: inherit; }
button { border: 0; border-radius: 10px; background: #b7f000; color: #081000; cursor: pointer; font: inherit; font-weight: 800; padding: 12px 16px; }
button.secondary { background: transparent; border: 1px solid #34506f; color: #eaf2fc; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #223650; margin-bottom: 28px; padding-bottom: 20px; }
.sidebar { background: #081523; border-right: 1px solid #223650; display: flex; flex-direction: column; padding: 26px 18px; gap: 38px; }.brand { color: inherit; text-decoration: none; display: grid; gap: 4px; }.brand strong { font-size: 1.25rem; }.sidebar nav { display: grid; gap: 8px; }.sidebar nav a { color: #9bb0c7; text-decoration: none; padding: 12px 14px; border-radius: 9px; font-weight: 650; }.sidebar nav a:hover, .sidebar nav a.active { background: #17314a; color: #ecf4ff; }.sidebar-footer { display: grid; gap: 9px; margin-top: auto; color: #c6d5e7; font-size: .9rem; }.content { min-width: 0; padding: 34px; }.mobile-header { display: none; }.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }.page-heading h1 { margin-bottom: 8px; }.button-link { background: #b7f000; color: #081000; text-decoration: none; padding: 12px 16px; border-radius: 10px; font-weight: 800; white-space: nowrap; }
.user-actions { display: flex; align-items: center; gap: 14px; }
.organization-form { display: grid; grid-template-columns: 1.3fr 1fr .8fr auto; align-items: end; background: #091524; border: 1px solid #223650; border-radius: 14px; padding: 18px; }
.accounts-heading { margin-top: 38px; }
.account-form { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; background: #091524; border: 1px solid #223650; border-radius: 14px; padding: 18px; }
select { width: 100%; background: #06101d; border: 1px solid #34506f; border-radius: 10px; color: inherit; padding: 12px; font: inherit; }
.toolbar { display: flex; justify-content: flex-end; margin-top: 16px; }.toolbar label { width: min(260px, 100%); }
.inline-form { grid-template-columns: 1fr .75fr auto; align-items: end; background: #091524; border: 1px solid #223650; border-radius: 14px; padding: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }.stat-card { background: linear-gradient(135deg, #122a42, #0b1828); border: 1px solid #2a4767; border-radius: 16px; padding: 22px; display: grid; gap: 10px; }.stat-card span { color: #aabed3; font-size: .9rem; }.stat-card strong { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; }.stat-card.lime strong { color: #b7f000; }.stat-card.blue strong { color: #64bcff; }.stat-card.violet strong { color: #c8a6ff; }.stat-card.orange strong { color: #ffd06a; }.chart-card { margin-top: 20px; background: #091524; border: 1px solid #223650; border-radius: 16px; padding: 24px; }.chart-card h2 { margin-bottom: 6px; }.bar-chart { display: grid; gap: 18px; margin-top: 26px; }.bar-row { display: grid; gap: 8px; }.bar-row div { display: flex; justify-content: space-between; color: #c6d5e7; }.bar-row i { display: block; height: 10px; background: #14263a; border-radius: 999px; overflow: hidden; }.bar-row em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b7f000, #52d4bf); }
.card { background: #091524; border: 1px solid #223650; border-radius: 14px; padding: 18px; }
.card h3 { margin-bottom: 7px; }
.card-title, .card-actions, .dialog-heading, .dialog-actions { display: flex; align-items: center; gap: 10px; }.card-title { justify-content: flex-start; }.card-title h3 { margin: 0; }.card-actions { margin-top: 18px; justify-content: flex-end; }.small { padding: 8px 11px; font-size: .86rem; }.danger { background: #7f2530; color: #fff; }.assignment { color: #dbeaff; font-weight: 650; margin-bottom: 8px; }.organization-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid #34506f; }
.message { min-height: 1.25rem; color: #9bb0c7; margin-top: 16px; }.message.error { color: #ff9b9b; }.message.success { color: #b7f000; }
dialog { width: min(560px, calc(100% - 24px)); border: 1px solid #34506f; border-radius: 16px; background: #0c192a; color: inherit; box-shadow: 0 24px 80px #000a; padding: 0; } dialog::backdrop { background: #020814bb; }.dialog-form { padding: 24px; margin: 0; }.dialog-heading { justify-content: space-between; }.dialog-heading h2, .dialog-form h2 { margin: 0; }.dialog-actions { justify-content: flex-end; margin-top: 8px; }.icon-button { background: transparent; color: #eaf2fc; padding: 2px 9px; font-size: 1.65rem; line-height: 1; }.divider { border-top: 1px solid #223650; }.toast { position: fixed; top: 50%; left: 50%; z-index: 20; max-width: min(460px, calc(100% - 32px)); transform: translate(-50%, -50%); background: #b7f000; color: #081000; border-radius: 12px; box-shadow: 0 16px 55px #0009; font-weight: 800; padding: 18px 22px; text-align: center; }.toast.error { background: #8f2936; color: #fff; }
.checkbox { display: flex; align-items: center; gap: 9px; grid-template-columns: none; }.checkbox input { width: auto; }.archive-badge { color: #ffd875; font-size: .88rem; font-weight: 700; }.athlete-card { position: relative; }.athlete-photo { width: 74px; height: 74px; object-fit: cover; border-radius: 50%; border: 2px solid #b7f000; float: right; margin-left: 12px; }.photo-input { margin-top: 14px; }.photo-input input { padding: 8px; }
@media (max-width: 850px) { .app-layout { display: block; }.sidebar { display: none; }.content { padding: 22px; }.mobile-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #223650; margin-bottom: 26px; }.mobile-header h1 { margin-bottom: 0; }.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .shell { width: min(100% - 20px, 1100px); padding: 12px 0; }.auth-card, .app { border-radius: 14px; }.content { padding: 20px; }.mobile-header { flex-direction: column; }.page-heading { flex-direction: column; }.inline-form, .organization-form, .account-form { grid-template-columns: 1fr; }.stat-grid { grid-template-columns: 1fr; } }
