/* ============================================
   BracketBuddy – Static Site Stylesheet
   Build this like a traditional multi-page website
   using shared CSS and a single JS file for behavior,
   not like a component-based SPA.
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap");

/* ===== CSS VARIABLES (LIGHT THEME DEFAULT) ===== */
:root {
  --bg: 210 25% 97%;
  --fg: 220 40% 13%;
  --card: 0 0% 100%;
  --card-fg: 220 40% 13%;
  --primary: 195 100% 47%;
  --primary-fg: 220 40% 10%;
  --secondary: 215 20% 92%;
  --secondary-fg: 220 40% 13%;
  --muted: 215 15% 75%;
  --muted-fg: 215 15% 45%;
  --accent: 220 55% 22%;
  --accent-fg: 0 0% 100%;
  --destructive: 0 84% 55%;
  --border: 215 20% 88%;
  --input: 215 20% 88%;
  --ring: 195 100% 47%;
  --subtle: 210 20% 94%;
  --radius: 0.75rem;

  /* Font-Size */

  --font-1: clamp(48px, calc(48px + 32 * ((100vw - 768px) / 672)), 72px);
  --font-2: clamp(36px, calc(36px + 32 * ((100vw - 767px) / 673)), 60px);
  --font-3: clamp(30px, calc(32px + 21 * ((100vw - 900px) / 540)), 48px);
  --font-4: clamp(30px, calc(31px + 15 * ((100vw - 900px) / 540)), 40px);
  --font-5: clamp(24px, calc(24px + 15 * ((100vw - 767px) / 673)), 36px);
  --font-6: 20px;
  --font-7: 18px;
  --font-8: 14px;
  --font-9: 12px;
  --font-10: 16px;
  --font-11: clamp(22px, calc(22px + 2 * ((100vw - 320px) / 1120)), 24px);

  /* Padding And Margin */
  --pt-m: 6px;
  --pt-l: 8px;
  --pt-xl: 12px;
  --pt-xxl: 16px;
  --pb-m: 6px;
  --pb-l: 8px;
  --pb-xl: 12px;
  --pb-xxl: 16px;
  --mt-m: 6px;
  --mt-l: 8px;
  --mt-xl: 12px;
  --mt-xxl: 16px;
  --mb-m: 6px;
  --mb-l: 8px;
  --mb-xl: 12px;
  --mb-xxl: 16px;
}

/* Font-Size Class */
.font-1 {
  font-size: var(--font-1) !important;
  line-height: 1 !important;
}

.font-2 {
  font-size: var(--font-2) !important;
  line-height: 1.2 !important;
}

.font-3 {
  font-size: var(--font-3) !important;
  line-height: 1.2 !important;
}

.font-4 {
  font-size: var(--font-4) !important;
  line-height: 1.2 !important;
}

.font-5 {
  font-size: var(--font-5) !important;
  line-height: 1.2 !important;
}

.font-6 {
  font-size: var(--font-6) !important;
  line-height: 1.3 !important;
}

.font-7 {
  font-size: var(--font-7) !important;
  line-height: 1.3 !important;
}

.font-8 {
  font-size: var(--font-8) !important;
  line-height: 1.3 !important;
}

.font-9 {
  font-size: var(--font-9) !important;
  line-height: 1.3 !important;
}

.font-10 {
  font-size: var(--font-10) !important;
  line-height: 1.3 !important;
}

.font-11 {
  font-size: var(--font-11) !important;
  line-height: 1.2 !important;
}

/* Font-Weight Class */
.fw-700 {
  font-weight: 700 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-400 {
  font-weight: 400 !important;
}

/* Display None */
.d-none {
  display: none !important;
}

/* Text-Center Class */
.text-center {
  text-align: center !important;
}

/* Svg Color Class */
.svg-color {
  stroke: #00b4f0;
}

/* Padding And Margin Class */

/* Padding Top */
.pt-m {
  padding-top: var(--pt-m);
}

.pt-l {
  padding-top: var(--pt-l);
}

.pt-xl {
  padding-top: var(--pt-xl);
}

.pt-xxl {
  padding-top: var(--pt-xxl);
}

/* Padding Bottom */
.pb-m {
  padding-bottom: var(--pt-m);
}

.pb-l {
  padding-bottom: var(--pt-l);
}

.pb-xl {
  padding-bottom: var(--pt-xl);
}

.pb-xxl {
  padding-bottom: var(--pt-xxl);
}

/* margin Top */
.mt-m {
  margin-top: var(--pt-m);
}

.mt-l {
  margin-top: var(--pt-l);
}

.mt-xl {
  margin-top: var(--pt-xl);
}

.mt-xxl {
  margin-top: var(--pt-xxl);
}

/* margin Bottom */
.mb-m {
  margin-bottom: var(--pt-m);
}

.mb-l {
  margin-bottom: var(--pt-l);
}

.mb-xl {
  margin-bottom: var(--pt-xl);
}

.mb-xxl {
  margin-bottom: var(--pt-xxl);
}

.text-primary {
  color: hsl(var(--primary)) !important;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --bg: 222 35% 7%;
  --fg: 210 20% 94%;
  --card: 222 30% 11%;
  --card-fg: 210 20% 94%;
  --primary: 195 100% 47%;
  --primary-fg: 222 35% 7%;
  --secondary: 222 25% 15%;
  --secondary-fg: 210 20% 94%;
  --muted: 220 15% 40%;
  --muted-fg: 220 15% 55%;
  --accent: 210 30% 25%;
  --accent-fg: 210 20% 94%;
  --destructive: 0 84% 60%;
  --border: 222 25% 18%;
  --input: 222 25% 18%;
  --ring: 195 100% 47%;
  --subtle: 222 30% 9%;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: hsl(var(--bg));
  color: hsl(var(--fg));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}

input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.font-mono {
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, hsl(195 100% 47%), hsl(220 55% 30%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-primary {
  box-shadow: 0 0 40px -10px #00b4f04d;
}

/* .card-shadow {
  box-shadow: 0 1px 3px hsl(220 40% 13% / 0.08), 0 0 0 1px hsl(215 20% 88% / 0.5);
} */

/* [data-theme="dark"] .card-shadow {
  box-shadow: 0 0 0 1px hsl(222 25% 18% / 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
  /* background-color: #10141e80;
} */
*/ [data-theme="dark"] .card-color {
  box-shadow:
    0 0 0 1px hsl(222 25% 18% / 0.5),
    0 2px 4px rgba(0, 0, 0, 0.4);
  background-color: #10141e80;
}

.card-shadow-hover {
  box-shadow:
    0 4px 12px hsl(195 100% 47% / 0.12),
    0 0 0 1px hsl(195 100% 47% / 0.2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== GLASS / BACKDROP ===== */
.glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: hsl(0 0% 100% / 0.85);
}

[data-theme="dark"] .glass {
  background: hsl(222 35% 7% / 0.85);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

/* ===== NAVBAR ===== */
.navbar {
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
    position: relative;
    width: 30px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1;
    color: hsl(var(--primary));

    background: transparent;
    border: none;
}

/* Left bracket */
.nav-logo-icon::before,
/* Right bracket */
.nav-logo-icon::after {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: 8px;
    border-top: 3px solid hsl(var(--primary));
    border-bottom: 3px solid hsl(var(--primary));
}

/* Left [ */
.nav-logo-icon::before {
    left: 0;
    border-left: 3px solid hsl(var(--primary));
}

/* Right ] */
.nav-logo-icon::after {
    right: 0;
    border-right: 3px solid hsl(var(--primary));
}

.nav-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  color: hsl(var(--primary));
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a,
.nav-links button {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links button:hover {
  color: hsl(var(--fg));
}

.nav-ctas {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-ctas {
    display: flex;
  }
}

.nav-mobile-toggle {
  display: flex;
  padding: 0.5rem;
  color: hsl(var(--muted-fg));
}

@media (min-width: 768px) {
  .nav-mobile-toggle {
    display: none;
  }
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-btn svg {
  transition: transform 0.4s ease;
}

.nav-dropdown.open .nav-dropdown-btn svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 224px;
  padding: 0.5rem 0;
  border-radius: 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  transition:
    background 0.15s,
    color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: hsl(var(--primary) / 0.05);
  color: hsl(var(--fg));
}

.nav-dropdown-menu a:first-child {
  font-weight: 500;
  /* color: hsl(var(--fg)); */
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  margin-bottom: 4px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.5rem 1rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.mobile-menu.open {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu li,
.mobile-menu button {
  padding: 0.625rem 0;
  font-size: 1rem;
  color: hsl(var(--muted-fg));
  transition: color 0.2s;
  list-style-type: none;
}

.mobile-menu li:hover {
  color: hsl(var(--fg));
}

.mobile-dropdown {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  width: 100%;
}

.submenu-toggle {
  width: 100%;
  flex: 1;
  cursor: pointer;
}

.has-submenu a {
  display: block;
}

.submenu {
  display: none;
  list-style: none;
  padding-left: 15px;
  padding-top: 12px;
}

.submenu li a {
  display: block;
  width: 100%;
}

.submenu li {
  padding: 8px 0px;
}

.mobile-dropdown.active .submenu {
  display: block;
}

.active .submenu-toggle-icon {
  rotate: 180deg;
  transition: 0.3s ease;
}

.mobile-menu a:hover {
  color: hsl(var(--fg));
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
}

.btn-primary:hover {
  filter: brightness(1.1) !important;
  transform: scale(1.02);
}

.btn-primary:focus-visible {
  outline: none;
}

.btn-outline {
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--fg));
}

.btn-outline:hover {
  border-color: hsl(var(--primary) / 0.3);
  transform: scale(1.02);
}

.btn-sm {
  padding: 8px 12px;
  font-size: var(--font-8);
  font-weight: 500;
  border-radius: 12px;
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-fg));
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: hsl(var(--fg));
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-fg));
  transition: all 0.2s;
  border: 1px solid hsl(var(--border));
}

.theme-toggle:hover {
  color: hsl(var(--fg));
  background: hsl(var(--subtle));
}

.theme-toggle .icon-moon {
  display: none;
}

.icon-sun,
.icon-moon {
  padding-top: 5px;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ===== FORM ELEMENTS ===== */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  color: hsl(var(--fg));
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: hsl(var(--muted-fg));
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
  border-color: hsl(var(--primary) / 0.5);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  margin-bottom: 0.5rem;
}

.form-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.75rem;
  color: hsl(var(--destructive));
  margin-top: 0.25rem;
}

.form-input-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

/* Switch toggle */
.switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: hsl(var(--border));
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}

.switch.active {
  background: hsl(var(--primary));
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}

.switch.active::after {
  transform: translateX(20px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 32px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.05);
  filter: blur(50px);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-desc {
  font-size: 1.125rem;
  color: hsl(var(--muted-fg));
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .hero-desc {
    margin-left: 0;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-stats {
    justify-content: flex-start;
  }
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  margin-top: 0.25rem;
}

/* Hero bracket visual */
.hero-bracket {
  display: none;
  position: relative;
  overflow-x: auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 16px;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-bracket {
    display: block;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: hsl(var(--muted-fg));
  max-width: 640px;
  margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.feature-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  overflow: hidden;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px #00b4f01f,
    0 0 0 1px #00b4f033 !important;
}

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      hsl(var(--primary) / 0.05),
      transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover .feature-card-overlay {
  opacity: 1;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
}

.password-container input {
  padding-right: 35px;
}

.feature-icon i {
  font-size: 22px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  line-height: 1.6;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 16px;
  padding: 3rem 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}

.section-border {
  border: 1px solid;
  border-image: linear-gradient(to right,
      rgb(218 223 231 / 0%),
      rgb(218 223 231 / 50%),
      rgb(218 223 231 / 0%)) 1;
}

/* ===== HOW IT WORKS ===== */
.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
  color: hsl(var(--primary));
}

.how-step-circle i {
  font-size: 24px;
}

.how-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.how-step p {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== SPORTS GRID ===== */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .sports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sports-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sport-card {
  padding: 1.25rem;
  text-align: center;
  border-radius: 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  transition: all 0.2s;
}

.sport-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px #00b4f01f,
    0 0 0 1px #00b4f033 !important;
}

.sport-emoji {
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
}

.sport-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sport-card p {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
}

/* ===== BRACKET PREVIEW (HOME) ===== */
.bracket-preview-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  overflow-x: auto;
}

.bracket-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bracket-preview-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  font-weight: 500;
}

.bracket-rounds {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  min-width: 600px;
}

/* @media (min-width: 640px) {
  .bracket-rounds {
    gap: 2.5rem;
  }
} */

.bracket-round {
  flex-shrink: 0;
}

.bracket-round-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bracket-match {
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 8px;
  padding: 0.625rem;
  width: 176px;
  margin-bottom: 1rem;
}

.schedule-table thead {
  border-bottom: 1px solid hsl(var(--border));
}

.bracket-match-final {
  border-color: hsl(var(--primary) / 0.2);
}

.bracket-match-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 2px 0;
}

.bracket-match-row.winner {
  font-weight: 500;
  color: hsl(var(--fg));
}

.bracket-match-row.loser {
  color: hsl(var(--muted-fg));
}

.bracket-match-divider {
  width: 100%;
  height: 1px;
  background: hsl(var(--border) / 0.5);
  margin: 4px 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cta-section h2 {
    font-size: 2.5rem;
  }
}

.cta-section p {
  font-size: 1.125rem;
  color: hsl(var(--muted-fg));
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding: 3rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  max-width: 280px;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--primary));
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.625rem;
}

.footer li a,
.footer li span {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  transition: color 0.2s;
}

.footer li a:hover {
  color: hsl(var(--fg));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
}

/* ===== CREATE PAGE: WIZARD ===== */
.wizard-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.wizard-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .wizard-header h1 {
    font-size: 2.25rem;
  }
}

.wizard-header p {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid hsl(var(--border));
  color: hsl(var(--muted-fg));
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
}

.stepper-circle.active {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
}

.stepper-circle.completed {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
}

.stepper-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  display: none;
}

@media (min-width: 640px) {
  .stepper-label {
    display: block;
  }
}

.stepper-label.active {
  color: hsl(var(--primary));
}

.stepper-label.completed {
  color: hsl(var(--fg));
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: hsl(var(--border));
  margin: 0 0.5rem;
  margin-top: -1.25rem;
  border-radius: 2px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .stepper-line {
    margin-top: -0.25rem;
  }
}

.stepper-line-fill {
  height: 100%;
  background: hsl(var(--primary));
  border-radius: 2px;
  width: 0;
  transition: width 0.3s;
}

.stepper-line-fill.filled {
  width: 100%;
}

/* nav {
  width: 100%;
}

nav ul {
  list-style: none;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  display: block;
} */

/* Submenu */
/* .submenu {
  display: none;
}

.submenu li a {
  padding-left: 20px;
}

.has-submenu {
  list-style: none;
  padding: 12px 0px;
}

.has-submenu a {
  color: #0F1624 !important;
  font-size: var(--font-10);
  line-height: 1.3;
  font-weight: 600;
} */

/* Show submenu when parent active */
/* .submenu-active>.submenu {
  display: block;
}

nav.active {
  display: block;
}

@media(min-width: 768px) {
  .hamburger {
    display: none;
  }

  nav {
    display: block;
    position: static;
    background-color: transparent;
  }

  nav ul {
    display: flex;
  }

  nav ul li {
    border: none;
  }

  nav ul li a {
    padding: 10px 15px;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #555;
    display: none;
    min-width: 150px;
  }

  nav ul li:hover>.submenu {
    display: block;
  }

  .submenu li a {
    padding: 10px;
  }
} */

/* Wizard form card */
.wizard-card {
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Wizard steps */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.wizard-step .step-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  margin-bottom: 1.5rem;
}

.wizard-card .step-desc {
  margin-bottom: 1rem;
}

.wizard-step .form-group {
  margin-bottom: 1.25rem;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.wizard-review {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Settings card */
.settings-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 1.25rem;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.1);
  border-radius: 8px;
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  margin-top: 0.5rem;
}

.info-box strong {
  color: hsl(var(--fg));
}

/* Participant list */
.participant-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.participant-item .rank {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  width: 24px;
  text-align: center;
}

.participant-item input {
  flex: 1;
}

.participant-item .remove-btn {
  color: hsl(var(--muted-fg));
  opacity: 0;
  transition: opacity 0.2s;
  padding: 4px;
}

.participant-item:hover .remove-btn {
  opacity: 1;
}

.participant-item .remove-btn:hover {
  color: hsl(var(--destructive));
}

/* Review sections */
.review-section {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.review-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: hsl(var(--secondary) / 0.5);
  border-bottom: 1px solid hsl(var(--border));
}

.review-section-header h4 {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
}

.review-section-header .edit-btn {
  font-size: 0.75rem;
  color: hsl(var(--primary));
}

.review-section-header .edit-btn:hover {
  text-decoration: underline;
}

.review-row {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.review-row .label {
  color: hsl(var(--muted-fg));
}

.review-row .value {
  font-weight: 500;
  text-transform: capitalize;
}

/* Success state */
.success-state {
  text-align: center;
  padding: 4rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.2);
  border: 2px solid hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.25rem;
  color: hsl(var(--primary));
}

.success-state h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.success-state p {
  color: hsl(var(--muted-fg));
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

.success-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BRACKET DETAILS PAGE ===== */
.bracket-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: hsl(var(--bg));
}

/* Top header bar */
.bracket-topbar {
  height: 56px;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  flex-shrink: 0;
  z-index: 30;
}

.bracket-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bracket-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bracket-topbar .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--primary));
  animation: pulse 2s infinite;
}

.bracket-meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  display: none;
}

@media (min-width: 640px) {
  .bracket-meta {
    display: inline;
  }
}

/* Workspace layout */
.bracket-workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Icon Rail */
.icon-rail {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 56px;
  background: hsl(var(--card));
  border-right: 1px solid hsl(var(--border));
  padding: 1rem 0;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .icon-rail {
    display: flex;
  }
}

.icon-rail-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-fg));
  transition: all 0.2s;
  position: relative;
}

.icon-rail-btn:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--fg));
}

.icon-rail-btn.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.2);
}

.icon-rail-btn .tooltip {
  position: absolute;
  left: calc(100% + 8px);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: hsl(var(--card));
  color: hsl(var(--fg));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 50;
}

.icon-rail-btn:hover .tooltip {
  opacity: 1;
}

/* Mobile icon bar */
.icon-bar-mobile {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  overflow-x: auto;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .icon-bar-mobile {
    display: none;
  }
}

.icon-bar-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  flex-shrink: 0;
  color: hsl(var(--muted-fg));
  transition: all 0.2s;
}

.icon-bar-btn:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--fg));
}

.icon-bar-btn.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
}

/* Sliding Panel */
.sliding-panel {
  width: 0;
  overflow: hidden;
  background: hsl(var(--card));
  border-right: 1px solid hsl(var(--border));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.sliding-panel.open {
  width: 320px;
}

@media (max-width: 767px) {
  .sliding-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 0;
  }

  .sliding-panel.open {
    width: 320px;
  }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.panel-header h3 {
  font-size: 0.875rem;
  font-weight: 700;
}

.panel-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-fg));
  transition: all 0.2s;
}

.panel-close:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--fg));
}

.panel-content {
  padding: 1rem;
  overflow-y: auto;
  height: calc(100% - 48px);
}

/* Panel overlay (mobile) */
.panel-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.panel-overlay.visible {
  display: block;
}

@media (min-width: 768px) {
  .panel-overlay {
    display: none !important;
  }
}

/* Tabs */
.tabs-bar {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 0.25rem;
  background: hsl(var(--secondary) / 0.7);
  padding: 0.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  width: fit-content;
  overflow-x: auto;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: var(--font-8);
  font-weight: 500;
  color: hsl(var(--muted-fg));
  transition: all 0.2s;
  justify-content: center;
}

.tab-btn:hover {
  color: hsl(var(--fg));
}

.tab-btn.active {
  background: hsl(var(--bg));
  color: hsl(var(--fg));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  position: relative;
}

/* Main content area */
.bracket-main {
  flex: 1;
  overflow-y: auto;
}

.bracket-main__header {
  padding: 1.5rem 1.5rem 0rem;
}

.tab-main-box {
  padding: 0rem 1.5rem;
}

.tab-content {
  padding: 0rem 1.5rem 1.5rem;
}

.tab-content.tab-bracket {
  padding-left: 0px;
  padding-right: 0px;
  overflow-x: auto;
}

/* ===== SCHEDULE TABLE ===== */
.schedule-section {
  margin-bottom: 2rem;
}

.schedule-round-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 500px;
}

.schedule-table th {
  text-align: center;
  padding: 0.625rem 0.75rem;
  font-size: var(--font-8);
  font-weight: 500;
  color: hsl(var(--muted-fg));
  border-bottom: 1px solid hsl(var(--border));
}

.schedule-table tr {
  text-align: center;
}

.schedule-table th.center {
  text-align: center;
}

.schedule-table td {
  padding: 0.625rem 0.75rem;
  font-size: var(--font-8);
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

.schedule-table tr:hover {
  background: hsl(var(--secondary) / 0.3);
}

.schedule-table tr.has-winner {
  background: hsl(var(--primary) / 0.05);
}

.match-no {
  color: hsl(var(--muted-fg));
  font-size: 0.75rem;
}

.team-name {
  font-weight: 500;
}

.team-name.winner {
  color: hsl(var(--primary));
}

.team-name .check {
  color: hsl(var(--primary));
  margin-right: 4px;
}

/* Winner select */
.winner-select {
  height: 32px;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  border-radius: 6px;
  /* background: hsl(var(--secondary) / 0.3); */
  border: 1px solid hsl(var(--border));
  color: hsl(var(--fg));
  width: 144px;
}

.awaiting-text {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
}

/* UB/LB labels */
.bracket-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bracket-label-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.bracket-label-dot.ub {
  background: hsl(var(--primary));
}

.bracket-label-dot.lb {
  background: hsl(var(--accent));
}

.bracket-label h3 {
  font-size: 0.875rem;
  font-weight: 700;
}

/* ===== BRACKET VISUALIZATION ===== */
.bracket-vis {
  overflow-x: auto;
  padding-bottom: 1rem;
}

/* ===== POINTS TABLE ===== */
.standings-section {
  margin-bottom: 1.5rem;
}

.standings-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.points-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.points-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  border-bottom: 1px solid hsl(var(--border));
}

.points-table th.center {
  text-align: center;
}

.points-table th.score-col {
  color: hsl(var(--primary));
}

.points-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  text-align: left;
}

.points-table td.center {
  text-align: center;
}

tabs-bar .points-table tr:hover {
  background: hsl(var(--primary) / 0.05);
}

.points-table .score {
  font-weight: 700;
  color: hsl(var(--primary));
  text-align: center;
}

.tables__score {
  color: hsl(var(--primary)) !important;
}

/* Group container */
.group-container {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  overflow: hidden;
}

.group-header {
  background: hsl(var(--primary) / 0.1);
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.625rem 1rem;
}

.group-header h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.groups-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* @media (min-width: 640px) {
  .groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */

/* Match schedule (RR/Group/Swiss) */
.match-schedule-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.round-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.match-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  background: hsl(var(--secondary) / 0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.375rem;
}

.match-row .match-no-sm {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  width: 32px;
}

.match-row .team-btn {
  flex: 1;
  text-align: left;
  padding: 2px 4px;
  border-radius: 4px;
  transition:
    background 0.15s,
    color 0.15s;
  cursor: pointer;
}

.match-row .team-btn:hover {
  background: hsl(var(--primary) / 0.05);
}

.match-row .team-btn.selected {
  color: hsl(var(--primary));
  font-weight: 600;
  background: hsl(var(--primary) / 0.1);
}

.match-row .team-btn.right {
  text-align: right;
}

.match-row .vs {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
}

.match-row .result-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--primary));
  flex-shrink: 0;
}

.click-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  font-style: italic;
  margin-top: 1rem;
}

/* ===== SINGLE/DOUBLE ELIM BRACKET RENDERING ===== */
.elim-bracket {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  min-width: fit-content;
  padding: 1rem 0;
}

.elim-round {
  display: flex;
  flex-direction: column;
}

.elim-round-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.elim-match {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  width: 200px;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.elim-match:hover {
  border-color: hsl(var(--primary) / 0.3);
}

.elim-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.15s;
}

.elim-team:hover {
  background: hsl(var(--primary) / 0.05);
}

.elim-team.winner {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 600;
}

.elim-team.tbd {
  color: hsl(var(--muted-fg));
  cursor: default;
}

.elim-team .result {
  font-size: 0.75rem;
  font-weight: 600;
}

.elim-team-divider {
  height: 1px;
  background: hsl(var(--border));
}

.elim-section-label {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.elim-section-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.elim-section-dot.upper {
  background: hsl(var(--primary));
}

.elim-section-dot.lower {
  background: hsl(var(--accent));
}

/* ===== DIALOG / MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-overlay.visible {
  display: flex;
}

.modal-content {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.modal-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  padding: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 10px 1rem;
  justify-content: flex-end;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .show-mobile-only {
    display: none !important;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--muted));
}

/* ===== SVG ICONS INLINE ===== */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
}

.icon-center {
  vertical-align: middle;
}

.sub-box {
  font-size: var(--font-8);
  margin: 0px 4px;
  color: hsl(var(--muted-fg));
}

.change-icon {
  width: 3%;
  cursor: grab;
}

.change-data {
  width: 10%;
}

/* ===== PAGE HERO (INNER PAGES) ===== */
.page-hero {
  position: relative;
  padding: 10rem 0 4rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.06);
  filter: blur(120px);
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.page-hero-desc {
  color: hsl(var(--muted-fg));
  max-width: 640px;
  margin: 0 auto;
}

/* ===== FORMAT CARDS GRID ===== */
.format-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .format-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .format-cards-grid {
    grid-template-columns: 1fr;
  }
}

.format-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  overflow: hidden;
  transition: all 0.3s;
}

.format-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.3);
  box-shadow:
    0 4px 12px #00b4f01f,
    0 0 0 1px #00b4f033 !important;
}

.format-card:hover .format-card-icon {
  background-color: #00b4f033;
  transition: 0.3s;
}

.format-card:hover .format-card-title {
  color: #00b4f0;
  transition: 0.3s;
}

.format-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
}

.format-card h3 {
  /* font-size: 1rem;
  font-weight: 600; */
  margin-bottom: 0.5rem;
}

.format-card p {
  /* font-size: 0.8125rem; */
  color: hsl(var(--muted-fg));
  line-height: 1.5;
}

.format-card-btn {
  display: block;
  margin-top: 12px;
  color: #00b4f0;
}

.middle {
  vertical-align: middle;
}

/* ===== TIMELINE ===== */
/* .timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    hsl(var(--primary) / 0.3),
    hsl(var(--border))
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}

.timeline-content {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 16px;
  padding: 1.5rem;
}

.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  margin-bottom: 1rem;
  line-height: 1.6;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-content li {
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.timeline-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
} */

/* ===== OVERVIEW POINTS ===== */
.overview-points {
  max-width: 700px;
  margin: 0 auto;
}

.overview-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: hsl(var(--fg));
  line-height: 1.6;
}

.overview-bullet {
  color: hsl(var(--primary));
  font-size: 0.5rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ===== PRICING GRID ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card-popular {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--primary) / 0.03);
  /* transform: scale(1.02); */
}

.pricing-popular-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-popular .pricing-icon {
  background: hsl(var(--primary) / 0.15);
}

.pricing-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-price {
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-duration {
  display: block !important;
  /* display: inline; */
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
  margin-bottom: 12px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.pricing-features li {
  font-size: var(--font-8);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-check {
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1;
  padding-top: 2px;
}

/* ===== FAQ ===== */
/* .faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--fg));
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question:hover {
  background: hsl(var(--primary) / 0.05);
}

.faq-toggle {
  color: hsl(var(--muted-fg));
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.25rem 1rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
  line-height: 1.6;
} */

/* ===== CONTACT PAGE ===== */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .contact-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }
}

.contact-method-card {
  display: block;
  padding: 1.5rem;
  border-radius: 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.5);
  text-align: center;
  transition: all 0.3s;
}

.contact-method-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-2px);
}

.contact-method-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-method-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-method-card p {
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
  margin-bottom: 0.75rem;
}

.contact-method-detail {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  word-break: break-all;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 3rem;
}

.auth-card {
  width: 100%;
  max-width: 550px;
  background: hsl(var(--card));
  border-radius: 16px;
  padding: 2rem 2rem;
  border: 1px solid hsl(var(--border));
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-header p {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}

.auth-form {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
}

.form-group,
.court-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}

.auth-footer a {
  color: hsl(var(--primary));
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ===== USER DROPDOWN (Navbar) ===== */
.user-dropdown {
  position: relative;
}

.user-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(220 55% 30%));
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid hsl(var(--primary) / 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.user-avatar-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px hsl(var(--primary) / 0.3);
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  right: 0;
  width: 220px;
  border-radius: 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  z-index: 100;
  overflow: hidden;
}

.user-dropdown:hover .user-dropdown-menu {
  display: block;
}

.user-dropdown-header {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.875rem;
}

.user-dropdown-menu a {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  transition:
    background 0.15s,
    color 0.15s;
}

.user-dropdown-menu a:hover {
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--fg));
}

/* ===== DASHBOARD PAGE ===== */
.dashboard-page {
  padding: 5.5rem 0 3rem;
  min-height: 100vh;
}

.dash-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  background: hsl(var(--subtle));
  border-radius: 12px;
  padding: 0.25rem;
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}

.dash-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  white-space: nowrap;
  transition: all 0.2s;
}

.dash-tab:hover {
  color: hsl(var(--fg));
}

.dash-tab.active {
  background: hsl(var(--card));
  color: hsl(var(--fg));
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.08);
}

.dash-panel {
  display: none;
}

.dash-panel.active {
  display: block;
  animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Welcome card */
.welcome-card {
  background: linear-gradient(135deg,
      hsl(var(--primary) / 0.08),
      hsl(220 55% 30% / 0.06));
  border: 1px solid hsl(var(--primary) / 0.15);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.welcome-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.welcome-text p {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}

.welcome-stats {
  display: flex;
  gap: 2rem;
}

.mini-stat {
  text-align: center;
}

.mini-stat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.mini-stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
}

/* Tables wrapper */
.dash-table-wrap {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 1.5rem;
}

.dash-table-wrap h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* DataTables overrides */
.dataTables_wrapper {
  font-size: 0.8125rem;
  color: hsl(var(--fg));
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  color: hsl(var(--fg));
  font-size: 0.8125rem;
}

table.dataTable {
  border-collapse: collapse !important;
}

table.dataTable thead th {
  background: hsl(var(--subtle));
  color: hsl(var(--fg));
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid hsl(var(--border)) !important;
}

table.dataTable tbody td {
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid hsl(var(--border) / 0.5) !important;
  font-size: 0.8125rem;
}

table.dataTable tbody tr:hover {
  background: hsl(var(--primary) / 0.04) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 6px !important;
  padding: 0.25rem 0.5rem !important;
  margin: 0 2px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: hsl(var(--primary)) !important;
  color: white !important;
  border: none !important;
}

.dataTables_wrapper .dataTables_info {
  color: hsl(var(--muted-fg));
  font-size: 0.75rem;
}

table.dataTable.no-footer {
  border-bottom: none !important;
}

/* Profile */
.profile-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(220 55% 30%));
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.profile-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Brackets grid */
.brackets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.brackets-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.brackets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.bracket-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.bracket-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.1);
  transform: translateY(-2px);
}

.bracket-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.bracket-card-type {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.bracket-card-sport {
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  text-transform: capitalize;
}

.bracket-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.bracket-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state p:first-child {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Plan card */
.plan-active-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.plan-active-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(220 55% 30%));
}

.plan-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}

.plan-active-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0 1.5rem;
}

.plan-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.plan-detail-label {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--muted-fg));
  margin-bottom: 0.25rem;
}

.plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
}

.plan-feature {
  font-size: 0.8125rem;
  padding: 0.25rem 0.625rem;
  background: hsl(var(--subtle));
  border-radius: 6px;
}

.plan-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-active {
  background: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
}

.status-pending {
  background: hsl(45 93% 47% / 0.1);
  color: hsl(45 93% 47%);
}

.status-failed {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

/* custom */
.iti__selected-country-primary {
  border-right: 2px solid #dadfe7;
}

.p-number {

  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  input[type="number"] {
    -moz-appearance: textfield;
  }
}

.how-step:nth-child(1):before,
.how-step:nth-child(2):before {
  content: "";
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right,
      rgba(0, 180, 240, 0.2),
      rgba(0, 180, 240, 0.4),
      rgba(0, 180, 240, 0.2));
  position: absolute;
  top: 34%;
  left: 56%;
}

.iti__search-input {
  padding: 0.75rem 2rem;
  background: hsl(var(--subtle));
  border-radius: 12px;
  color: hsl(var(--fg));
  font-size: 0.875rem;
  transition: all 0.2s;
  width: 100%;
  margin: 10px;

  &:focus-visible {
    outline: #00b4f080;
  }
}

[data-theme="dark"] .iti__selected-country-primary {
  border-right: 2px solid hsl(var(--border));
}

.iti__search-icon {
  position: absolute;
  left: 22px;
  display: flex;
  pointer-events: none;
}

[data-theme="dark"] .section-border {
  border: 1px solid;
  border-image: linear-gradient(to right,
      rgb(218 223 231 / 0%),
      rgb(218 223 231 / 10%),
      rgb(218 223 231 / 0%)) 1;
}

[data-theme="dark"] .iti__search-input-wrapper,
[data-theme="dark"] .iti__country-list,
[data-theme="dark"] .iti__no-results {
  background-color: #141924;
}

[data-theme="dark"] .iti__dropdown-content {
  position: absolute;
  z-index: 2;
  margin-top: 3px;
  margin-left: calc(var(--iti-border-width) * -1);
  border: 1px solid #293041;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.iti__search-clear {
  position: absolute;
  right: 22px;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
  width: 24px;
  height: 24px;
}

.bg-shadow-main {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  pointer-events: none;
}

.section-color {
  position: relative;
  overflow: hidden;
}

.bg-shadow {
  filter: blur(120px);
  background-color: #00b4f00d;
  border-radius: 9999px;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  left: 50%;
  bottom: 0;
  position: absolute;
}

.form-icon {
  position: relative;
}

.password-toggle {
  position: absolute;
  bottom: 13px;
  right: 10px;
  cursor: pointer;
}

/* [data-theme="dark"] .password-toggle {
  color: hsl(var(--fg))
} */

.form-forgot {
  text-align: end;
  margin-bottom: 1rem;

  & a {
    color: hsl(var(--primary));
  }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.btn-create {
  padding: 12px 24px;
}

.wizard-textarea {
  margin-top: 0.5rem;
}

.participant-item__icon {
  color: hsl(var(--muted-fg));
  cursor: grab;
}

[data-theme="dark"] .participant-item__icon {
  color: hsl(var(--muted-fg));
  cursor: grab;
}

.mobile-user-dropdown {
  display: none;
}

.mobile-user-dropdown .user-avatar-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(220 55% 30%));
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid hsl(var(--primary) / 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-user-dropdown .user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  right: 0;
  width: 220px;
  border-radius: 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  z-index: 100;
  overflow: hidden;
}

.new-icon {
  vertical-align: bottom;
}

.review-edit-btn {
  color: hsl(var(--primary));
}

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.menu-active {
  color: #000000 !important;
}

[data-theme="dark"] .menu-active {
  color: #ffffff !important;
}

/* jQBracket */
.jQBracket .team:first-child {
  border-bottom: 1px solid #999;
  border-radius: 12px 12px 0px 0px;
  background-color: #d7d7d7 !important;
}

.jQBracket .team {
  border-radius: 0px 0px 12px 12px;
  background-color: #d7d7d7 !important;
}

.jQBracket .team .label {
  padding: 7px !important;
  height: 100% !important;
  color: black;
}

.jQBracket .team:first-child .score {
  border-radius: 0px 12px 0px 0px;
}

.jQBracket .team .score {
  padding: 7px !important;
  height: 100% !important;
  color: black;
  border-radius: 0px 0px 12px 0px;
}

.jQBracket .team.win {
  background-color: #9ea2a9 !important;
  font-weight: 600;
}

.jQBracket .team.lose {
  background-color: #c2c4c9 !important;
  opacity: 0.7;
  font-weight: 400;
}

.jQBracket .team.highlight {
  background-color: #3bbbe5a6 !important;
}

.jQBracket .win .bubble {
  background-color: #9ea2a9 !important;
  color: black !important;
}

.jQBracket .lose .bubble {
  background-color: #c2c4c9 !important;
  color: black !important;
  opacity: 1;
}

/* Dark Theme */
[data-theme="dark"] .jQBracket .team:first-child {
  border-bottom: 1px solid #566379;
  border-radius: 12px 12px 0px 0px;
  background-color: #455165 !important;
}

[data-theme="dark"] .jQBracket .team {
  border-radius: 0px 0px 12px 12px;
  background-color: #455165 !important;
}

[data-theme="dark"] .jQBracket .team .label {
  padding: 7px !important;
  height: 100% !important;
  color: #eaeaea;
}

[data-theme="dark"] .jQBracket .team:first-child .score {
  border-radius: 0px 12px 0px 0px;
}

[data-theme="dark"] .jQBracket .team .score {
  padding: 7px !important;
  height: 100% !important;
  color: #eaeaea;
  border-radius: 0px 0px 12px 0px;
  background-color: #697993;
}

[data-theme="dark"] .jQBracket .team.win {
  background-color: #364a6b !important;
  font-weight: 600;
}

[data-theme="dark"] .jQBracket .team.lose .label {
  color: #e2e2e2cd;
}

[data-theme="dark"] .jQBracket .team.lose {
  background-color: #4e5c73 !important;
  opacity: 1;
  font-weight: 400;
}

[data-theme="dark"] .jQBracket .team.highlight {
  background-color: #4eb7d9 !important;
}

[data-theme="dark"] .jQBracket .team.highlight .score {
  background-color: #00b9ff;
}

[data-theme="dark"] .jQBracket .win .bubble {
  background-color: #364a6b !important;
  color: #e2e2e2 !important;
}

[data-theme="dark"] .jQBracket .lose .bubble {
  background-color: #4e5c73 !important;
  color: #e2e2e2cb !important;
  opacity: 1;
}

/* Footer */
.footer-underline {
  text-decoration: underline;
}

/* verify email */
.reset-code:hover {
  text-decoration: underline;
}

.nav-logo-icon__reset {
  width: 50px;
  height: 50px;
}

.register__reset span,
.register__reset a {
  color: #00b4f0;
}

body:has(.modal-overlay.visible) {
  overflow: hidden;
}

/* Error Class */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  outline: none;
  box-shadow: 0 0 0 2px #ff00004f;
  border-color: #ff0000a3;

  &:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ff00004f;
    border-color: #ff0000a3;
  }
}

.error-message {
  margin-top: 4px;
  color: #ff0000a3;
  display: none;
}

.qty-btn {
  width: 30px;
  height: 30px;
  background-color: #00b4f066;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  &:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.7);
    border-color: hsl(var(--primary) / 0.5);
  }
}

[data-theme="dark"] .qty-btn {
  background: hsl(var(--primary));
}

.qty-input {
  padding: 4px;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  text-align: center;

  &:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.7);
    border-color: hsl(var(--primary) / 0.5);
  }
}

[data-theme="dark"] .qty-input {
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  color: white;
}

.bracket-qty-control {
  display: flex;
  gap: 8px;
  align-items: center;
}

.jQBracket .win .bubble:after {
  border-right-color: #9ea2a9 !important;
}

.jQBracket .lose .bubble:after {
  border-right-color: #c2c4c9 !important;
}

[data-theme="dark"] .jQBracket .win .bubble:after {
  border-right-color: #364a6b !important;
}

[data-theme="dark"] .jQBracket .lose .bubble:after {
  border-right-color: #4e5c73 !important;
}

/* Btn Loader */
.btn.loading {
  pointer-events: none;
  color: transparent;
  user-select: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid hsl(var(--primary-fg));
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

[data-theme="dark"] .btn-outline.loading::after {
  border: 3px solid hsl(var(--fg));
  border-top: 3px solid transparent;
}

/* Verification Pages*/
.verification-failed__section,
.verification-success__section,
.verification-loader__section {
  height: 100vh;
  padding: 0px !important;
  background-color: white;
}

[data-theme="dark"] .verification-failed__section,
[data-theme="dark"] .verification-success__section,
[data-theme="dark"] .verification-loader__section {
  background-color: hsl(var(--bg));
}

.verification-failed__container,
.verification-success__container,
.verification-loader__container {
  height: 100%;
}

.verification-failed__box,
.verification-success__box,
.verification-loader__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.verification-failed__icon,
.verification-success__icon {
  margin: 0 auto 0.5rem;
}

.verification-failed__title {
  color: rgb(255, 63, 63);
  margin-bottom: 0.5rem;
}

.verification-failed__des {
  color: hsl(var(--muted-fg));
  margin-bottom: 1.5rem;
}

.verification-failed__btn .btn {
  border: 1px solid rgb(255, 63, 63);
  color: rgb(255, 63, 63);
  padding: 1rem 6rem;

  &:hover {
    background-color: rgb(255, 63, 63);
    color: white;
  }
}

.verification-success__title {
  color: green;
  margin-bottom: 0.5rem;
}

.verification-success__des {
  color: hsl(var(--muted-fg));
  margin-bottom: 1rem;
}

.verification-success__des span {
  color: green;
}

.verification-loader__spinner {
  width: 80px;
  height: 80px;
  border: 5px solid #2f80ed;
  border-top: 5px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 0.5rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.verification-loader__title {
  color: #2f80ed;
  padding-bottom: 0.5rem;
}

.verification-loader__des {
  color: hsl(var(--muted-fg));
  margin-bottom: 1rem;
}

/* payment failed */
.payment-fail-section {
  height: 100vh;
  padding: 0px;
}

.payment-fail-icon {
  background-color: transparent;
  border: none;
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
}

.payment-fail-title {
  color: rgb(255, 63, 63);
  margin-bottom: 1rem;
}

.payment-fail-des {
  margin-bottom: 1rem;
}

.payment-fail-btn {
  margin-bottom: 1rem;
}

.payment-fail-card {
  width: 90%;
  margin: 0 auto;
}

/* Disable Btn */
.disabled {
  pointer-events: none;
  box-shadow: none;
  cursor: no-drop;
}

/* Contact Page */
.contact-form-first {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Contact Us Accordion */
.item {
  background: hsl(var(--card));
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.5);
}

.title {
  padding: 1.25rem 1.25rem;
  cursor: pointer;
  color: hsl(var(--fg));
  position: relative;
}

.title::after {
  content: "+";
  position: absolute;
  right: 15px;
  transition: 0.7s;
}

.item.active .title::after {
  content: "×";
}

.item.active .title {
  font-weight: 700 !important;
}

.content {
  display: none;
  padding: 1rem 1.25rem;
  color: hsl(var(--muted-fg));
  font-size: 14px;
  border-top: 1px solid hsl(var(--border));
}

/* Panel-Section */
.panel-section {
  display: none;
}

.panel-section .form-group .form-label {
  color: hsl(var(--muted-fg));
}

.panel-section .form-group .form-detail {
  width: 100%;
  height: 96px;
  border: 2px dashed hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--subtle));
  color: hsl(var(--muted-fg));
  cursor: pointer;
}

.panel-btn {
  width: 100%;
  margin-bottom: 1rem;
}

.bracket-main__header {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tab-main-box {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.tab-box-btn {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Setting-Tab */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.add-btn {
  cursor: pointer;
  user-select: none;
}

.add-btn svg {
  width: 100%;
  height: 100%;
}

/* .court-box {
  margin-bottom: 12px;
} */

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 5px; */
}

.delete-btn {
  color: red;
  cursor: pointer;
}

.btn-setting {
  width: 100%;
  margin-top: 0.5rem;
}

.bracket-main__dropdown {
  width: 20%;
}

.form-select {
  padding: 15px 12px;
}

#l-logo {
  color: transparent;
}

#l-logo::-webkit-file-upload-button {
  visibility: hidden;
}

#l-logo::file-selector-button {
  visibility: hidden;
}

.form-detail {
  width: 100%;
  height: 90px;
  cursor: pointer;
  color: transparent;
  position: relative;
}

.form-detail::after {
  content: "Organization Logo";
  color: #888;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main-header__box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

/* points-table */
.points-table__num {
  width: 30px;
  color: hsl(var(--muted-fg));
}

td.points-table__num {
  padding: 0.25rem;
  text-align: center;
}

.points-name__header {
  min-width: 250px;
}

.points-table__points {
  width: 125px;
  color: hsl(var(--muted-fg));
}

.point-table__title {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.point-table__title .feature-icon {
  margin-bottom: 0px;
  /* width: 30px;
  height: 30px; */
  border-radius: 8px;
  cursor: pointer;
}

.add-columns {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  border-radius: 12px;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  padding: 0.5rem 1rem;
}

/* Group-table */
.table-group-main {
  background: hsl(var(--bg));
  /* overflow-x: auto; */
  min-width: 0;
}

.table-group-header {
  background: hsl(var(--bg));
  color: hsl(var(--primary));
  text-align: left;
  margin-bottom: 0.5rem;
  font-size: 20px;
  font-weight: bold;
  /* border-bottom: 1px solid hsl(var(--border)); */
}

.table-group-main table {
  width: 100%;
  border-collapse: collapse;
}

.table-group-main table tr:hover {
  background: hsl(var(--primary) / 0.05);
}

.table-group-main th,
td {
  padding: 4px 8px;
  text-align: center;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.table-group-wrapper {
  /* margin-bottom: 4rem; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 75px;
}

.table-input {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 8px 8px;
  border-radius: 12px;
  background-color: transparent;
  color: hsl(var(--muted-fg));

  &:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
    border-color: hsl(var(--primary) / 0.5);
  }
}

[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  /* white કરવા */
  cursor: pointer;
}

/* select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
} */

/* time-line process */
.timeline {
  position: relative;
  padding-left: 56px;
}

.timeline__line {
  position: absolute;
  left: 19px;
  top: 0px;
  bottom: 16px;
  width: 1px;
  background: hsl(var(--primary) / 0.5);
}

.step {
  position: relative;
  margin-bottom: 56px;
}

.step:last-child {
  margin-bottom: 0;
}

.step__marker {
  position: absolute;
  left: -56px;
  top: 0px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(var(--bg));
  border: 1px solid hsl(var(--primary) / 0.6);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__card {
  display: flex;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  overflow: hidden;

  &:hover {
    border: 1px solid hsl(var(--primary) / 0.5);
  }
}

.step__visual {
  background: #e7eaef4d;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 0px);
}

[data-theme="dark"] .step__visual {
  background: #1d22304d;
}

.step__visual-label {
  color: hsl(var(--muted-fg));
  overflow: hidden;
}

.step__content {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(50% - 0px);
}

.step__badge {
  display: inline-block;
  align-self: flex-start;
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.2);
  border: 1px solid hsl(var(--primary) / 0.3);
  padding: 6px 14px;
  border-radius: 999px;
}

.step__desc {
  color: hsl(var(--muted-fg));
}

.step__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step__list li {
  position: relative;
  margin-left: 16px;
  color: hsl(var(--muted-fg));
}

.step__list li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--primary));
}

.step__card:hover .step__visual-label img {
  scale: 1.1;
}

.step__visual-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.table-group-main th:first-child,
.table-group-main td:first-child {
  width: 120px;
}

.table-group-main th,
.table-group-main td {
  white-space: nowrap;
}

.table-group-main th {
  color: hsl(var(--muted-fg));
}

/* Share Model Design */
.link-row {
  display: flex;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.link-input {
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: text;
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  color: hsl(var(--fg));
  font-size: 0.875rem;
  transition: all 0.2s;
}

/* When focused: enable horizontal scroll, show full link */
.link-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
  border-color: hsl(var(--primary) / 0.5);
  text-overflow: clip;
  overflow-x: auto;
}

.copy-btn {
  width: 40px;
  height: 40px;
  background: hsl(var(--subtle));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  color: hsl(var(--fg));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: hsl(var(--primary) / 0.2);
}

.share-targets {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: hsl(var(--muted-fg));
  transition: transform 0.15s;
}

.share-item:hover {
  transform: translateY(-2px);
}

.icon-circle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* btn disabled */
button:disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.7;
}

/* point-table */
.point-box__overflow {
  overflow-x: auto;
}

/* Tooltip container */
.tooltip {
  position: relative;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 80px;
  background-color: hsl(var(--bg));
  color: hsl(var(--fg));
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translatex(-50%);

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: hsl(var(--bg)) transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  border: 1px solid hsl(var(--fg) / 0.3);
}

.tooltip:hover .tooltiptext::after {
  border: 1px solid hsl(var(--fg) / 0.3);
}

/* Share Page Design */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
}

.details-card {
  padding: 2rem;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-header-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.org-logo {
  width: 11rem;
  height: 7rem;
  border-radius: 12px;
  background: hsl(var(--subtle));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.org-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem !important;
  background-color: hsl(var(--primary) / 0.3);
  border-radius: 12px;
  color: hsl(var(--fg));
}

/* Divider */
.divider {
  height: 1px;
  background: hsl(var(--border));
  margin: 1.5rem 0;
}

/* Section title */
.card-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  color: hsl(var(--fg));
  letter-spacing: 1px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card-courts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-courts__detail {
  padding: 0.5rem 0.75rem;
  background-color: hsl(var(--subtle));
  border-radius: 8px;
  color: hsl(var(--fg));
}

/* Field */
.field {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.card-icons {
  stroke: hsl(var(--primary));
}

.field-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: hsl(var(--subtle));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.field-label {
  /* text-transform: uppercase; */
  color: hsl(var(--fg));
}

.field-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-card__section {
  padding: 48px 0px;
}

/* .card-bracket-main {
  background-color: hsl(var(--card));
  padding: 24px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
} */

/* Description */
.description-text {
  color: hsl(var(--muted-fg));
}

.share-card-page .tab-main-box {
  padding: 0px;
}

.share-card-page .tab-content {
  padding: 0px;
}

/* Forget Password */
.forget-section,
.reset-section {
  height: 100vh;
  padding: 0px;
}

.forget-container,
.reset-container {
  height: 100%;
}

.forget-box,
.reset-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.forget-card {
  width: 100%;
  max-width: 550px;
  background: hsl(var(--card));
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
}

.forget-title {
  color: hsl(var(--fg));
  margin-bottom: 24px;
}

.otp-row {
  display: flex;
  gap: 0.75rem;
}

.otp-row input {
  flex: 1;
}

.forget-btn {
  width: 100%;
}

/* Reset Password */

.reset-card {
  width: 100%;
  max-width: 550px;
  background: hsl(var(--card));
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
}

.reset-title {
  color: hsl(var(--fg));
  margin-bottom: 24px;
}

.reset-btn {
  width: 100%;
}

/* jquery bracket */
div.jQBracket {
  margin: 0px 16px;
}

.points-table tr:hover {
  background: hsl(var(--secondary) / 0.3);
}

/* Responsive Designs */
@media (max-width: 1280px) {

  .how-step:nth-child(1):before,
  .how-step:nth-child(2):before {
    left: 57%;
  }

  .hero {
    height: 100%;
    padding: 80px 0px;
  }

  .bracket-main__dropdown {
    width: 25%;
  }
}

@media (max-width: 1024px) {

  .how-step:nth-child(1):before,
  .how-step:nth-child(2):before {
    left: 58.5%;
  }

  .hero {
    padding: 60px 0px;
  }

  .bracket-main__dropdown {
    width: 30%;
  }

  .timeline {
    padding-left: 0px;
  }

  .timeline__line {
    display: none;
  }

  .step__marker {
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    background-color: hsl(var(--primary));
    color: hsl(var(--bg));
    font-weight: 700 !important;
    z-index: 1;
  }

  .step-reverse .step__marker {
    position: absolute;
    top: 15px;
    left: 53.5%;
    transform: translateX(-53.5%);
    width: 30px;
    height: 30px;
    background-color: hsl(var(--primary));
    color: hsl(var(--bg));
    font-weight: 700 !important;
    z-index: 1;
  }

  .point-overflow__box {
    width: max-content !important;
  }
}

@media (max-width: 880px) {

  .how-step:nth-child(1):before,
  .how-step:nth-child(2):before {
    top: 30%;
    left: 60%;
  }

  .bracket-main__dropdown {
    width: 35%;
  }

  .table-group-wrapper {
    grid-template-columns: 1fr;
    column-gap: 25px;
  }

  .bracket-main__header {
    flex-direction: column;
    gap: 1rem;
  }

  .main-header__box {
    justify-content: left !important;
    order: 2;
    flex-wrap: wrap;
  }

  .tab-box-btn {
    width: 100%;
  }

  .tabs-bar {
    margin-bottom: 0px;
  }

  .share-card-page .tabs-bar {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767px) {

  .how-step:nth-child(1):before,
  .how-step:nth-child(2):before {
    display: none;
  }

  .section-border {
    border: none;
  }

  .auth-page {
    height: 100%;
  }

  .mobile-user-dropdown {
    display: block;
    padding: 7px 12px;
  }

  .nav-logo {
    flex: 1;
  }

  .hero {
    height: 100%;
    padding: 40px 0px;
  }

  .wizard-card {
    padding: 1rem 1rem;
  }

  .bracket-preview-card {
    padding: 1rem 1rem;
  }

  .contact-form {
    padding: 1rem 1rem;
  }

  .stats-bar {
    padding: 1.5rem 1.5rem;
  }

  .btn-create {
    padding: 8px 16px;
  }

  .footer-bottom {
    gap: 1rem;
  }

  .verification-btn .btn {
    padding: 1rem 3rem !important;
  }

  .payment-fail-card {
    padding: 1rem;
  }

  .bracket-main__dropdown {
    width: 50%;
  }

  .step__card {
    flex-wrap: wrap;
  }

  .step__visual {
    width: 100%;
    aspect-ratio: 3 / 1;
  }

  .step__content {
    width: 100%;
  }

  .step-reverse .step__card {
    flex-direction: column-reverse;
  }

  .step-reverse .step__marker {
    position: absolute;
    top: 15px;
    left: 15px;
    transform: translateX(0px);
    width: 30px;
    height: 30px;
    background-color: hsl(var(--primary));
    color: hsl(var(--bg));
    font-weight: 700 !important;
    z-index: 1;
  }

  .tab-btn {
    min-width: 140px;
  }

  .table-group-header {
    /* min-width: 380px; */
  }

  .point-overflow__boxes {
    /* min-width: 380px; */
  }

  .feature-icon__box {
    display: none;
  }

  .add-columns {
    padding: 0.25rem;
    border-radius: 8px;
  }

  .bracket-main__header {
    padding: 1rem 1rem 0rem;
  }

  .tab-main-box {
    padding: 0rem 1rem;
  }

  .tab-content {
    padding: 0rem 1rem 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .details-card {
    padding: 1rem;
  }

  .card-header {
    justify-content: center;
  }

  .card-header-left {
    width: 100%;
    justify-content: center;
  }

  .card-event__name {
    width: 100%;
    text-align: center;
  }

  .org-logo {
    width: 60%;
    height: 100%;
    aspect-ratio: 2/1;
  }
}

@media (max-width: 480px) {

  .wizard-review,
  .success-buttons {
    flex-direction: column;
  }

  .contact-form-first {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .bracket-main__dropdown {
    width: 100%;
  }

  .tab-box-btn {
    justify-content: center;
  }

  .org-logo {
    width: 100%;
    height: 100%;
    aspect-ratio: 2/1;
  }

  .forget-card,
  .reset-card {
    padding: 1rem;
  }
}


/* pending for vasu */
.m-0 {
  margin: 0 !important;
}

.mb-2 {
  margin-bottom: 2rem;
}

.custom-th {
  position: relative;
  text-align: center;
  padding-right: 35px !important;
}

.column-title {
  display: block;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.delete-column {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

.delete-column svg {
  display: block;
}

.otp-btn {
  width: 100px;
}

.share-title {
  padding: 0.25rem;
  color: hsl(var(--fg));
}

/* .schedule-round-title in this change margin bottom 0.75rem to 0.5rem */
/* .table-group-main in this remove border radius and overflow x and add min-width:0, In html wrap table in class point-box__overflow */
/* table-group-header in this remove padding and add margin-bottom 0.5rem and also remove min-width:380px from 767*/
/* .point-overflow__boxes remove min-width: 380px */
/*  ASKE FOR GROUPS TAB DESIGN FIX SHOW MUCH MORE GAP BETWEEN GROUPS IF 3 OR MORE GROUPS */
/* .table-group-wrapper instead of column give column-gap and in @media (max-width: 880px) change it also gap to column-gap*/

/* NEED TO ADD RAISE A TICKET OPTION IN DAHBOARD PAGE */
/* HOW IT WOKRS TOTAL 7 PAGES */
/* 4 POLICY PAGES */
/* .title class need added in shared bracket and css is changed which effecct contact page design so change class share-title in share page and change css of title class to old css. */



/* Under Construction Page Design */
.uc-section {
  min-height: calc(100vh - 130px);
  /* adjust 130px to your header+footer height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

/* subtle animated grid overlay */
/* .uc-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(hsl(var(--border) / 0.4) 1px, transparent 1px),
      linear-gradient(90deg, hsl(var(--border) / 0.4) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: uc-grid 20s linear infinite;
    pointer-events: none;
    z-index: 0;
  } */

@keyframes uc-grid {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 40px 40px;
  }
}

/* top glow */
.uc-section::after {
  content: "";
  position: absolute;
  /* top: -180px; */
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--primary) / 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: uc-blob 8s ease-in-out infinite;
}

@keyframes uc-blob {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translateX(-50%) scale(1.15);
    opacity: 1;
  }
}

.uc-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* --- Badge --- */
.uc-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
  font-size: var(--font-9);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: uc-up 0.5s ease both;
}

.uc-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--primary));
  animation: uc-dot 1.8s ease-in-out infinite;
}

@keyframes uc-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}

/* --- Heading --- */
.uc-title {
  font-size: var(--font-1);
  font-weight: 800;
  line-height: 1.05;
  color: hsl(var(--fg));
  max-width: 700px;
  margin: 0 0 16px;
  animation: uc-up 0.5s 0.07s ease both;
}

.uc-title__highlight {
  color: hsl(var(--primary));
  position: relative;
  display: inline-block;
}

/* .uc-title__highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: hsl(var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  animation: uc-line 0.6s 0.9s ease forwards;
} */

@keyframes uc-line {
  to {
    transform: scaleX(1);
  }
}

/* --- Description --- */
.uc-desc {
  font-size: var(--font-10);
  color: hsl(var(--muted-fg));
  max-width: 460px;
  line-height: 1.7;
  margin: 0 0 40px;
  animation: uc-up 0.5s 0.14s ease both;
}

/* --- Progress card --- */
.uc-card {
  width: 100%;
  max-width: 460px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  margin-bottom: 32px;
  animation: uc-up 0.5s 0.21s ease both;
}

.uc-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.uc-card__lbl {
  font-size: var(--font-9);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--fg));
}

.uc-card__pct {
  font-size: var(--font-8);
  font-weight: 700;
  color: hsl(var(--primary));
}

.uc-track {
  width: 100%;
  height: 6px;
  background: hsl(var(--secondary));
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.uc-track__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
  animation: uc-fill 1.4s 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes uc-fill {
  to {
    width: 72%;
  }
}

.uc-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.uc-checklist__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-8);
  color: hsl(var(--muted-fg));
}

.uc-checklist__item--done {
  color: hsl(var(--fg));
}

.uc-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
}

.uc-check--done {
  background: hsl(var(--primary) / 0.14);
  color: hsl(var(--primary));
}

.uc-check--wip {
  background: hsl(40 90% 55% / 0.14);
  color: hsl(40 90% 55%);
}

.uc-check--todo {
  background: hsl(var(--secondary));
  color: hsl(var(--muted-fg));
}

/* --- Countdown --- */
.uc-timer {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  animation: uc-up 0.5s 0.28s ease both;
}

.uc-timer__box {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 14px 18px 10px;
  min-width: 70px;
  text-align: center;
}

.uc-timer__num {
  display: block;
  font-size: var(--font-3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: hsl(var(--fg));
}

.uc-timer__lbl {
  display: block;
  margin-top: 4px;
  font-size: var(--font-9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-fg));
}

/* --- Email row --- */
.uc-email-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 48px;
  animation: uc-up 0.5s 0.35s ease both;
}

.uc-email-row__input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--fg));
  font-size: var(--font-8);
  outline: none;
  transition: border-color 0.2s;
}

.uc-email-row__input::placeholder {
  color: hsl(var(--muted-fg));
}

.uc-email-row__input:focus {
  border-color: hsl(var(--primary));
}

.uc-email-row__btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  font-size: var(--font-8);
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.uc-email-row__btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.uc-email-row__btn:active {
  transform: translateY(0);
}

/* --- Stats strip --- */
.uc-stats-strip {
  display: flex;
  gap: 40px;
  animation: uc-up 0.5s 0.42s ease both;
}

.uc-stats-strip__item {
  text-align: center;
}

.uc-stats-strip__val {
  display: block;
  font-size: var(--font-5);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: hsl(var(--fg));
}

.uc-stats-strip__key {
  display: block;
  margin-top: 2px;
  font-size: var(--font-9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-fg));
}

/* --- Shared fade-up --- */
@keyframes uc-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .uc-timer {
    gap: 8px;
  }

  .uc-timer__box {
    min-width: 58px;
    padding: 12px 10px 8px;
  }

  .uc-stats-strip {
    gap: 24px;
  }

  .uc-email-row {
    flex-direction: column;
  }
}