body { background: #f4f7fb; color: #17233f; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.hero-card, .summary-card { max-width: 980px; margin: 2rem auto; padding: 2rem; border: 1px solid #e3e8f1; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(23, 35, 63, .06); }
.hero-card h1 { margin: .25rem 0 .75rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.hero-card p { max-width: 620px; color: #687793; font-size: 1.05rem; }
.eyebrow { color: #3048d8 !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .12em; }
.summary-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.summary-card div { display: grid; gap: .35rem; }
.summary-card span { color: #687793; font-size: .8rem; }
.summary-card strong { font-size: 1.05rem; }
.setup-form { display: grid; gap: 1rem; max-width: 520px; }
.setup-form label { display: grid; gap: .35rem; font-weight: 600; }
.setup-form input { padding: .7rem .8rem; border: 1px solid #cbd4e2; border-radius: 8px; font: inherit; }
.setup-form button { width: fit-content; padding: .7rem 1.1rem; border: 0; border-radius: 8px; background: #3048d8; color: white; font-weight: 700; cursor: pointer; }
.error-text { color: #b42318 !important; font-weight: 600; }
@media (max-width: 640px) { .hero-card, .summary-card { margin: 1rem; padding: 1.25rem; } .summary-card { grid-template-columns: 1fr; } }
.app-shell { min-height: 100vh; display: flex; }
.app-sidebar { width: 250px; padding: 1.5rem 1rem; background: #17233f; color: #fff; }
.brand-mark { display: grid; place-items: center; height: 88px; margin: .1rem .25rem 1rem; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 35%, rgba(48,72,216,.35), transparent 68%); }.brand-mark img { display: block; width: min(100%, 92px); height: 82px; object-fit: contain; }
.app-sidebar nav { display: grid; gap: .35rem; }.nav-group-label { margin: .8rem .75rem .1rem; color: #8997b8; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.app-sidebar a { padding: .7rem .75rem; border-radius: 8px; color: #cbd4e2; text-decoration: none; font-size: .9rem; }.app-sidebar a.active, .app-sidebar a:hover { background: #3048d8; color: #fff; }
.app-main { flex: 1; min-width: 0; }.app-topbar { display: flex; justify-content: space-between; padding: .85rem 2rem; border-bottom: 1px solid #e3e8f1; background: #fff; color: #687793; font-size: .85rem; }.topbar-note { color: #3048d8; font-weight: 700; }
.page-heading { max-width: 1180px; margin: 2rem auto 1rem; padding: 0 2rem; }.page-heading h1 { margin: .25rem 0 .5rem; }.page-heading p:not(.eyebrow) { color: #687793; }
.management-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(400px, 1.15fr); gap: 1rem; max-width: 1180px; margin: 0 auto; padding: 0 2rem 2rem; }.panel-card { padding: 1.25rem; border: 1px solid #e3e8f1; border-radius: 14px; background: #fff; }.panel-title { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }.panel-title h2 { margin: 0; }.panel-title p:not(.eyebrow) { margin: .3rem 0 0; color: #687793; font-size: .85rem; }
.inline-form { display: flex; gap: .5rem; margin: 1rem 0; }.inline-form input { min-width: 0; flex: 1; padding: .65rem .7rem; border: 1px solid #cbd4e2; border-radius: 7px; font: inherit; }.inline-form button, .secondary-button { border: 0; border-radius: 7px; padding: .65rem .8rem; background: #3048d8; color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; }.secondary-button { background: #edf0ff; color: #3048d8; }.secondary-button:disabled { opacity: .6; cursor: not-allowed; }
.season-list, .category-list { display: grid; gap: .4rem; }.season-row, .category-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; width: 100%; padding: .75rem; border: 1px solid #e3e8f1; border-radius: 8px; background: #fff; text-align: left; }.season-row { cursor: pointer; }.season-row.selected { border-color: #3048d8; box-shadow: inset 3px 0 #3048d8; }.season-row span:first-child { display: grid; gap: .25rem; }.season-row small { color: #687793; }.status-pill { padding: .22rem .5rem; border-radius: 999px; background: #edf0ff; color: #3048d8; font-size: .72rem; font-weight: 700; white-space: nowrap; }.status-active, .status-incompetition { background: #e8f7ee; color: #18794e; }.status-closed, .status-archived { background: #f1f3f6; color: #687793; }
.empty-state { padding: 1rem; color: #687793; text-align: center; }.empty-state.large { padding: 4rem 1rem; }.empty-state h2 { color: #17233f; }.notice-text { color: #18794e; font-weight: 600; }.category-row { margin-top: .4rem; }
@media (max-width: 820px) { .app-shell { display: block; }.app-sidebar { width: auto; padding: .75rem 1rem; }.brand-mark { margin: 0 0 .65rem; }.app-sidebar nav { display: flex; overflow-x: auto; }.app-sidebar a { white-space: nowrap; }.app-topbar { padding: .75rem 1rem; }.page-heading, .management-grid { padding-left: 1rem; padding-right: 1rem; }.management-grid { grid-template-columns: 1fr; } }
.summary-hero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 250px; overflow: hidden; background: linear-gradient(120deg, #ffffff 0%, #f2f6ff 72%, #e6edff 100%); }
.summary-hero-copy { position: relative; z-index: 1; }
.summary-player { align-self: stretch; width: clamp(145px, 23vw, 225px); margin: -2rem 1rem -2rem 0; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 12px rgba(23,35,63,.14)); }
.login-layout { min-height: 100vh; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: radial-gradient(circle at 12% 12%, #3048d8 0, #17233f 38%, #0d142b 100%); }
.login-card { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr); width: min(960px, 100%); min-height: 560px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(6,13,37,.38); }
.login-brand-space { display: grid; place-items: center; align-content: center; gap: 1rem; padding: 3rem; background: linear-gradient(145deg, #edf3ff, #dce7ff); text-align: center; }
.login-logo { display: block; width: min(230px, 75%); max-height: 310px; object-fit: contain; }
.login-brand-space p { max-width: 230px; margin: 0; color: #52627e; font-size: .9rem; line-height: 1.55; }
.login-form-space { position: relative; display: grid; align-items: center; overflow: hidden; padding: 3rem; background: #fff; }
.login-form-content { position: relative; z-index: 1; width: min(100%, 380px); margin: 0 auto; }
.login-form-content h1 { margin: .3rem 0 1.6rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.login-form-space .setup-form { max-width: none; }
.login-form-space .setup-form button { width: 100%; margin-top: .35rem; }
.login-player { position: absolute; right: 1rem; bottom: 1rem; width: auto; height: min(78%, 410px); max-width: 46%; opacity: .14; object-fit: contain; object-position: center top; filter: drop-shadow(0 8px 8px rgba(23,35,63,.1)); transform: rotate(-4deg); pointer-events: none; }
@media (max-width: 820px) { .summary-hero { min-height: 220px; }.summary-player { width: 150px; margin-right: -.5rem; }.login-card { grid-template-columns: 1fr; min-height: 0; }.login-brand-space { min-height: 270px; padding: 2rem; }.login-logo { width: 165px; max-height: 190px; }.login-form-space { min-height: 390px; padding: 2rem; }.login-player { right: .75rem; bottom: .75rem; height: 250px; max-width: none; } }
@media (max-width: 560px) { .summary-hero { align-items: flex-end; min-height: 260px; padding-bottom: 1.5rem; }.summary-hero-copy { max-width: 68%; }.summary-player { position: absolute; right: .1rem; width: 135px; height: 220px; margin: 0; }.login-layout { padding: .75rem; }.login-card { border-radius: 20px; }.login-brand-space { min-height: 235px; padding: 1.5rem; }.login-form-space { min-height: 390px; padding: 1.5rem; }.login-player { right: -.75rem; bottom: .5rem; height: 220px; } }
.infrastructure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1180px; margin: 0 auto; padding: 0 2rem 2rem; }.infrastructure-list-card { grid-column: 1 / -1; }.labeled-form { display: grid; gap: .7rem; margin-top: 1rem; }.labeled-form label { display: grid; gap: .35rem; color: #52627e; font-size: .8rem; font-weight: 700; }.labeled-form input, .labeled-form select { min-width: 0; padding: .65rem .7rem; border: 1px solid #cbd4e2; border-radius: 7px; background: #fff; font: inherit; font-weight: 400; }.labeled-form button { width: fit-content; border: 0; border-radius: 7px; padding: .65rem .8rem; background: #3048d8; color: #fff; font-weight: 700; cursor: pointer; }.labeled-form button:disabled { opacity: .55; cursor: not-allowed; }.optional { color: #687793; font-size: .75rem; font-weight: 500; }.infrastructure-list { display: grid; gap: .45rem; margin-top: 1rem; }.infrastructure-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-top: 1px solid #e3e8f1; }.infrastructure-row > div { display: grid; gap: .2rem; }.infrastructure-row small { color: #687793; }.fixture-category { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }.fixture-category > div { display: grid; gap: .25rem; }.fixture-category h2 { margin: 0; font-size: 1.05rem; }.fixture-category label { display: grid; gap: .35rem; min-width: min(430px, 45%); color: #52627e; font-size: .8rem; font-weight: 700; }.fixture-category select { padding: .65rem .7rem; border: 1px solid #cbd4e2; border-radius: 7px; background: #fff; font: inherit; }.schedule-panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }.schedule-panel-heading span { color: #687793; font-size: .8rem; }.field-hint { margin: .7rem 0 0; color: #687793; font-size: .8rem; }
@media (max-width: 820px) { .infrastructure-grid { grid-template-columns: 1fr; padding-left: 1rem; padding-right: 1rem; }.infrastructure-list-card { grid-column: auto; }.fixture-category { align-items: stretch; flex-direction: column; }.fixture-category label { min-width: 0; width: 100%; }.schedule-panel-heading { align-items: stretch; flex-direction: column; } }
.user-grid { display: grid; grid-template-columns: minmax(360px, .75fr) minmax(420px, 1.25fr); gap: 1rem; max-width: 1180px; margin: 0 auto; padding: 0 2rem 2rem; }.user-list { display: grid; gap: .5rem; }.user-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; padding: .8rem; border: 1px solid #e3e8f1; border-radius: 8px; background: #fff; }.user-row strong, .user-row small { display: block; }.user-row small { margin-top: .25rem; color: #687793; }.user-actions { display: flex; align-items: center; gap: .45rem; }.user-actions select { max-width: 150px; padding: .45rem; border: 1px solid #cbd4e2; border-radius: 6px; }.check-label { display: flex !important; align-items: center; gap: .4rem !important; font-size: .8rem; font-weight: 500 !important; }.check-label input { width: auto; }.assignment-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; align-items: end; }.assignment-form label { display: grid; gap: .3rem; color: #687793; font-size: .78rem; }.assignment-form select { min-width: 0; padding: .65rem; border: 1px solid #cbd4e2; border-radius: 7px; background: #fff; font: inherit; }.role-note { margin-top: .3rem; color: #687793; font-size: .8rem; }.role-admin { background: #edf0ff; color: #3048d8; }.role-coordinator { background: #e8f7ee; color: #18794e; }
@media (max-width: 820px) { .user-grid { grid-template-columns: 1fr; padding-left: 1rem; padding-right: 1rem; }.assignment-form { grid-template-columns: 1fr; }.user-row { grid-template-columns: 1fr; }.user-actions { flex-wrap: wrap; } }
.team-toolbar { display: flex; justify-content: space-between; align-items: end; max-width: 1180px; margin: 0 auto 1rem; padding: 1rem 2rem; }.team-toolbar label { display: grid; gap: .35rem; color: #687793; font-size: .8rem; }.team-toolbar select { min-width: 280px; padding: .65rem; border: 1px solid #cbd4e2; border-radius: 7px; background: #fff; font: inherit; }.toolbar-note { color: #687793; font-size: .85rem; }.team-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; max-width: 1180px; margin: 0 auto; padding: 0 2rem 2rem; }.roster-card { grid-column: 1 / -1; }.team-list, .player-list, .roster-list { display: grid; gap: .4rem; }.team-row, .player-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .75rem; border: 1px solid #e3e8f1; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }.team-row.selected, .player-row.selected { border-color: #3048d8; box-shadow: inset 3px 0 #3048d8; }.team-row span:first-child, .player-row span:first-child { display: grid; gap: .25rem; }.team-row small, .player-row small { color: #687793; }.compact-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; margin: 1rem 0; }.compact-form input { min-width: 0; padding: .65rem .7rem; border: 1px solid #cbd4e2; border-radius: 7px; font: inherit; }.compact-form button, .subsection button { border: 0; border-radius: 7px; padding: .65rem .8rem; background: #3048d8; color: #fff; font-weight: 700; cursor: pointer; }.subsection { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e3e8f1; }.subsection h3 { margin: 0 0 .6rem; font-size: .95rem; }.subsection small { display: block; margin-top: .45rem; color: #687793; }.roster-row { display: flex; justify-content: space-between; padding: .7rem; border-bottom: 1px solid #e3e8f1; }.roster-row span { color: #687793; }.page-message { max-width: 1180px; margin: 0 auto 1rem; padding: 0 2rem; }
@media (max-width: 820px) { .team-toolbar { margin: 0 1rem 1rem; padding: 1rem; display: grid; gap: .75rem; }.team-toolbar select { min-width: 0; width: 100%; }.team-grid { grid-template-columns: 1fr; padding-left: 1rem; padding-right: 1rem; }.roster-card { grid-column: auto; }.compact-form { grid-template-columns: 1fr; } }
