@font-face {
  font-family: "Inter Portal";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../lib/inter/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter Portal";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../lib/inter/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root,
[data-bs-theme="light"] {
  --tblr-font-sans-serif: "Inter Portal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tblr-primary: #245992;
  --tblr-primary-rgb: 36, 89, 146;
  --tblr-primary-lt: #e6eef6;
  --tblr-primary-lt-rgb: 230, 238, 246;
  --tblr-primary-fg: #fff;
  --tblr-primary-darken: #1d4a7a;
  --tblr-link-color: #245992;
  --tblr-link-color-rgb: 36, 89, 146;
  --tblr-link-hover-color: #1d4a7a;
  --tblr-link-hover-color-rgb: 29, 74, 122;
  --tblr-body-bg: #f4f7fa;
}

.btn-primary {
  --tblr-btn-bg: #245992;
  --tblr-btn-border-color: #245992;
  --tblr-btn-hover-bg: #1d4a7a;
  --tblr-btn-hover-border-color: #1d4a7a;
  --tblr-btn-active-bg: #183e67;
  --tblr-btn-active-border-color: #183e67;
  --tblr-btn-disabled-bg: #245992;
  --tblr-btn-disabled-border-color: #245992;
}

.navbar-vertical[data-bs-theme="dark"] {
  --tblr-navbar-bg: #12345a;
  --tblr-bg-surface: #12345a;
  background: linear-gradient(180deg, #123a66 0%, #0e2c4f 100%);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  text-decoration: none;
}

.brand-link:hover { color: #fff; text-decoration: none; }
.brand-link img { height: 34px; width: auto; }
.brand-link .brand-title { font-size: .95rem; font-weight: 650; line-height: 1.15; text-align: left; }
.brand-link .brand-sub { display: block; font-size: .7rem; font-weight: 450; opacity: .7; letter-spacing: .02em; }

.nav-section {
  padding: 1.1rem 1rem .35rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.navbar-vertical .nav-item.active > .nav-link {
  background: rgba(255, 255, 255, .1);
  border-radius: 6px;
}

.input-validation-error { border-color: var(--tblr-danger) !important; }
.field-validation-error { display: block; margin-top: .25rem; font-size: .8125rem; color: var(--tblr-danger); }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }

.auth-pane { min-height: 100vh; min-height: 100dvh; }
.auth-form { width: 100%; max-width: 25rem; margin: 0 auto; padding: 2.5rem 1.5rem; }
.auth-logo { height: 72px; width: auto; }
.auth-club { margin-top: .5rem; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #245992; }
.auth-cover { background: #123a66 url("../img/sea.svg") center bottom / cover no-repeat; position: relative; }
.auth-cover-text {
  position: absolute;
  left: 3.5rem;
  right: 3.5rem;
  top: 3.5rem;
  color: #fff;
  max-width: 34rem;
}
.auth-cover-text h2 { font-size: 2.1rem; font-weight: 700; line-height: 1.2; margin-bottom: .6rem; color: #fff; }
.auth-cover-text p { font-size: 1.02rem; opacity: .86; }

.hero-card {
  background: linear-gradient(115deg, #123a66 0%, #245992 62%, #3f86c2 100%);
  color: #fff;
  border: 0;
  overflow: hidden;
  position: relative;
}
.hero-card h2 { color: #fff; font-size: 1.45rem; }
.hero-card .hero-sub { opacity: .82; }
.hero-card .hero-sail { position: absolute; right: 1.5rem; bottom: -2.4rem; height: 190px; opacity: .16; }

.stat-icon { width: 2.6rem; height: 2.6rem; font-size: 1.3rem; }
.soon-item { display: flex; gap: .85rem; align-items: flex-start; }
.soon-item .avatar { flex: none; }
.ti { line-height: 1; }
.table-responsive { border-radius: 0 0 var(--tblr-card-border-radius, 8px) var(--tblr-card-border-radius, 8px); }
.permission-group + .permission-group { margin-top: 1.25rem; }
.mono { font-family: var(--tblr-font-monospace); font-size: .78rem; }
.text-pre-line { white-space: pre-line; }

.fc {
  --fc-button-bg-color: #245992;
  --fc-button-border-color: #245992;
  --fc-button-hover-bg-color: #1d4a7a;
  --fc-button-hover-border-color: #1d4a7a;
  --fc-button-active-bg-color: #183e67;
  --fc-button-active-border-color: #183e67;
  --fc-today-bg-color: #e6eef6;
}
.fc .fc-toolbar-title { font-size: 1.15rem; font-weight: 650; }
.qr-code svg { width: 100%; height: auto; max-width: 320px; }

.member-card { background: linear-gradient(135deg, #123a66 0%, #245992 60%, #3f86c2 100%); color: #fff; border-radius: 16px; padding: 1.5rem; }
.member-card-logo { height: 30px; width: auto; }
.member-card-qr { background: #fff; border-radius: 12px; padding: .75rem; max-width: 240px; margin: 0 auto; }
.member-card-qr svg { display: block; width: 100%; height: auto; }
.poll-bar { width: 100%; height: .5rem; accent-color: #245992; }
.result-position { width: 5.5rem; }
.standings-table td, .standings-table th { white-space: nowrap; }
