/* =================================================================
   Player Analytics - Style U.GG (Dark Modern Theme)
   ================================================================= */

/* Variables CSS (Style U.GG) */
:root {
  /* U.GG Color Palette */
  --ugg-bg-primary: #1c1c1f;
  --ugg-bg-secondary: #28282c;
  --ugg-bg-tertiary: #16161a;
  --ugg-card-bg: #28282c;
  --ugg-card-hover: #313135;

  /* Primary Colors */
  --ugg-blue: #5383e8;
  --ugg-blue-light: #7ca1f3;
  --ugg-cyan: #00bfd6;
  --ugg-gold: #f0b232;

  /* Text Colors */
  --ugg-text-primary: #e4e4e7;
  --ugg-text-secondary: #a1a1aa;
  --ugg-text-tertiary: #71717a;

  /* Status Colors */
  --ugg-win: #3b82f6;
  --ugg-loss: #ef4444;
  --ugg-green: #22c55e;
  --ugg-red: #ef4444;

  /* Borders & Dividers */
  --ugg-border: #3f3f46;
  --ugg-border-light: #52525b;

  /* Shadows */
  --ugg-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --ugg-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* Base Reset & Body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ugg-bg-primary) !important;
  color: var(--ugg-text-primary);
  line-height: 1.5;
  min-height: 100vh;
}

/* Reset any background gradients or patterns from modules-common.css */
body::before {
  display: none !important;
}

.main-content {
  background: var(--ugg-bg-primary) !important;
  min-height: 100vh;
  padding-left: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ========================================
   Search Bar - U.GG Style
   ======================================== */
.hero-analytics {
  background: var(--ugg-bg-secondary);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--ugg-border);
}

.hero-analytics h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ugg-text-primary);
  margin-bottom: 0.5rem;
}

.hero-description {
  color: var(--ugg-text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.search-form-analytics {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.search-form-analytics input {
  flex: 1;
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 4px;
  color: var(--ugg-text-primary);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-form-analytics input:focus {
  border-color: var(--ugg-blue);
}

.search-form-analytics input::placeholder {
  color: var(--ugg-text-tertiary);
}

.search-form-analytics select {
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 4px;
  color: var(--ugg-text-primary);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
}

.search-form-analytics button {
  background: var(--ugg-blue);
  border: none;
  border-radius: 4px;
  color: white;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.search-form-analytics button:hover {
  opacity: 0.85;
}

/* ========================================
   Player Header - U.GG Style
   ======================================== */
.player-header-ugg {
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

/* Profile Section */
.profile-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ugg-border);
}

.profile-icon-large {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid var(--ugg-border);
}

.profile-info {
  flex: 1;
}

.summoner-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ugg-text-primary);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.tag-line {
  color: var(--ugg-text-secondary);
  font-weight: 600;
  font-size: 1.125rem;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.level-badge {
  background: var(--ugg-bg-tertiary);
  color: var(--ugg-text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid var(--ugg-border);
}

/* Ranked Section */
.ranked-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ugg-border);
}

.ranked-card {
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 1rem;
}

.ranked-card.unranked {
  opacity: 0.6;
}

.ranked-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--ugg-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranked-header i {
  font-size: 1rem;
}

.solo-queue .ranked-header i { color: var(--ugg-blue); }
.flex-queue .ranked-header i { color: var(--ugg-cyan); }
.tft-queue .ranked-header i { color: var(--ugg-gold); }
.arena-queue .ranked-header i { color: #ff6b35; }

.ranked-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rank-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rank-tier {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ugg-text-primary);
}

.rank-lp {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ugg-text-secondary);
}

.rank-stats {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.rank-stats .wins { color: var(--ugg-green); }
.rank-stats .losses { color: var(--ugg-red); }
.rank-stats .winrate { color: var(--ugg-text-primary); }

/* Quick Stats Section */
.quick-stats-section {
  display: flex;
  gap: 2rem;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ugg-text-primary);
  line-height: 1;
}

.stat-value.kda-value {
  color: var(--ugg-blue);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ugg-text-secondary);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   Tabs Navigation - U.GG Style
   ======================================== */
.tabs-container {
  margin-bottom: 1rem;
}

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 8px;
  padding: 0.5rem;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ugg-text-secondary);
  padding: 0.625rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: var(--ugg-bg-primary);
  color: var(--ugg-text-primary);
}

.tab-btn.active {
  background: var(--ugg-blue);
  color: white;
}

.tab-btn i {
  font-size: 1rem;
}

/* Tab Content */
.tabs-content {
  min-height: 400px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ========================================
   Analytics Cards
   ======================================== */
.analytics-card {
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.analytics-card h4 {
  color: var(--ugg-text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.analytics-card h4 i {
  color: var(--ugg-blue);
  font-size: 1.125rem;
}

/* Performance Stats Grid */
.performance-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.perf-stat {
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 0.875rem;
  text-align: center;
}

.perf-label {
  font-size: 0.75rem;
  color: var(--ugg-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.perf-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ugg-text-primary);
}

.perf-value.kda-highlight {
  color: var(--ugg-blue);
  font-size: 1.125rem;
}

/* Recent Form */
.recent-form-display {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.form-badge {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.form-badge.win {
  background: var(--ugg-win);
  color: white;
}

.form-badge.loss {
  background: var(--ugg-loss);
  color: white;
}

.streak-alert {
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.streak-alert.success {
  border-color: var(--ugg-green);
  color: var(--ugg-green);
}

.streak-alert.warning {
  border-color: var(--ugg-red);
  color: var(--ugg-red);
}

.streak-alert i {
  font-size: 1.25rem;
}

/* Top Champions List */
.top-champions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.top-champion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  transition: background 0.2s;
}

.top-champion-item:hover {
  background: var(--ugg-card-hover);
}

.top-champion-item .champ-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.champ-info {
  flex: 1;
}

.champ-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ugg-text-primary);
  margin-bottom: 0.25rem;
}

.champ-details {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.champ-level {
  color: var(--ugg-text-tertiary);
}

.champ-points {
  color: var(--ugg-blue);
  font-weight: 600;
}

/* ========================================
   Champions Tab
   ======================================== */
.champions-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.champion-card-full {
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  transition: all 0.2s;
}

.champion-card-full:hover {
  background: var(--ugg-card-hover);
  border-color: var(--ugg-border-light);
}

.champion-card-full .champion-image {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.champion-card-full .champion-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ugg-text-primary);
  margin-bottom: 0.5rem;
}

.champion-card-full .champion-level-badge {
  background: var(--ugg-blue);
  color: white;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.champion-card-full .champion-points {
  color: var(--ugg-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
}

.champion-card-full .champion-progress {
  color: var(--ugg-text-tertiary);
  font-size: 0.625rem;
  margin-top: 0.25rem;
}

/* Insights */
.insight-card {
  background: var(--ugg-bg-primary);
  border-left: 3px solid var(--ugg-blue);
  padding: 0.875rem;
  margin-bottom: 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

/* ========================================
   Match History - U.GG Style
   ======================================== */
.match-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.match-tile {
  background: var(--ugg-card-bg);
  border-radius: 6px;
  overflow: hidden;
  border-left: 4px solid;
}

.match-tile.match-win {
  border-left-color: var(--ugg-win);
}

.match-tile.match-loss {
  border-left-color: var(--ugg-loss);
}

/* Match Header */
.match-header {
  padding: 0.875rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}

.match-header:hover {
  background: var(--ugg-card-hover);
}

.match-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  flex-wrap: wrap;
}

.match-result-badge .badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.625rem;
  border-radius: 4px;
}

.badge.bg-success {
  background: var(--ugg-win) !important;
}

.badge.bg-danger {
  background: var(--ugg-loss) !important;
}

.match-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.match-info-label {
  font-size: 0.625rem;
  color: var(--ugg-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-info-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ugg-text-primary);
}

.kda-display {
  color: var(--ugg-blue);
  font-weight: 700;
}

/* Champions Grid (U.GG style) */
.match-champions-grid {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.team-champions {
  display: flex;
  gap: 2px;
}

.champion-mini-icon {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  transition: transform 0.2s;
}

.champion-mini-icon:hover {
  transform: scale(1.2);
  z-index: 1;
}

.champion-mini-icon.current-player-highlight {
  border: 2px solid var(--ugg-blue);
  box-shadow: 0 0 4px var(--ugg-blue);
}

.match-expand-icon {
  color: var(--ugg-text-tertiary);
  font-size: 1rem;
  transition: transform 0.2s;
}

.match-tile.expanded .match-expand-icon {
  transform: rotate(180deg);
}

/* Match Body */
.match-body {
  padding: 1rem;
  display: none;
  border-top: 1px solid var(--ugg-border);
  background: var(--ugg-bg-primary);
}

.match-tile.expanded .match-body {
  display: block;
}

.team-section {
  padding: 0;
}

.blue-team {
  border-right: 1px solid var(--ugg-border);
  padding-right: 1rem;
}

.team-title {
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-title.text-primary {
  color: var(--ugg-blue) !important;
}

.team-title.text-danger {
  color: var(--ugg-red) !important;
}

.player-row {
  padding: 0.5rem;
  margin-bottom: 0.375rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.player-row:hover {
  background: var(--ugg-card-hover);
}

.player-row.current-player {
  background: rgba(83, 131, 232, 0.15);
  border: 1px solid var(--ugg-blue);
}

.champion-mini {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.player-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ugg-text-primary);
}

.current-player .player-name {
  font-weight: 700;
  color: var(--ugg-blue);
}

.player-stats {
  font-size: 0.75rem;
  color: var(--ugg-text-secondary);
}

.player-stats .kda {
  font-weight: 600;
  color: var(--ugg-text-primary);
}

.player-items {
  display: flex;
  gap: 2px;
}

.item-mini {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--ugg-bg-tertiary);
}

.item-empty {
  width: 22px;
  height: 22px;
  background: var(--ugg-bg-tertiary);
  border: 1px solid var(--ugg-border);
  border-radius: 3px;
}

.match-footer {
  padding: 0.75rem;
  text-align: center;
  background: var(--ugg-bg-tertiary);
  border-top: 1px solid var(--ugg-border);
}

.match-footer .btn {
  background: transparent;
  border: 1px solid var(--ugg-blue);
  color: var(--ugg-blue);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.match-footer .btn:hover {
  background: var(--ugg-blue);
  color: white;
}

/* ========================================
   Arena Match Display
   ======================================== */
.arena-match-display {
  background: var(--ugg-bg-primary);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 1rem;
}

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

.arena-header strong {
  color: var(--ugg-gold);
  font-size: 1rem;
  font-weight: 700;
}

.arena-badge {
  background: var(--ugg-gold);
  color: var(--ugg-bg-primary);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

.arena-team-card {
  background: var(--ugg-card-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 6px;
  padding: 0.875rem;
}

.arena-team-card.current-team {
  border-color: var(--ugg-gold);
  background: rgba(240, 178, 50, 0.1);
}

.arena-team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ugg-border);
}

.arena-team-placement {
  background: var(--ugg-gold);
  color: var(--ugg-bg-primary);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

.arena-team-placement.first { background: #ffd700; }
.arena-team-placement.second { background: #c0c0c0; }
.arena-team-placement.third { background: #cd7f32; }

.arena-players {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.arena-player {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  background: var(--ugg-bg-primary);
  border-radius: 4px;
}

.arena-player.current-player {
  background: rgba(240, 178, 50, 0.15);
  border: 1px solid var(--ugg-gold);
}

.arena-player img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

.arena-player-info {
  flex: 1;
}

.arena-player-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ugg-text-primary);
}

.arena-player.current-player .arena-player-name {
  color: var(--ugg-gold);
}

.arena-player-stats {
  font-size: 0.75rem;
  color: var(--ugg-text-secondary);
}

.arena-player-stats .kda {
  color: var(--ugg-text-primary);
  font-weight: 600;
}

/* ========================================
   Alerts & Loading
   ======================================== */
.alert {
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid;
  font-size: 0.875rem;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--ugg-red);
  color: var(--ugg-text-primary);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
  color: var(--ugg-text-primary);
}

.loading-spinner {
  text-align: center;
  padding: 3rem;
  display: none;
}

.spinner-border {
  width: 2rem;
  height: 2rem;
  border-width: 0.25rem;
  border-color: var(--ugg-blue);
  border-right-color: transparent;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
  .player-header-ugg {
    padding: 1.25rem;
  }

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

  .champions-grid-full {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .ranked-section {
    grid-template-columns: 1fr;
  }

  .quick-stats-section {
    flex-wrap: wrap;
  }

  .arena-teams-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .profile-icon-large {
    width: 64px;
    height: 64px;
  }

  .summoner-name {
    font-size: 1.25rem;
  }

  .blue-team {
    border-right: none;
    border-bottom: 1px solid var(--ugg-border);
    padding-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .performance-stats-grid {
    grid-template-columns: 1fr;
  }

  .champions-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .match-champions-grid {
    display: none;
  }

  .match-summary {
    gap: 0.75rem;
  }

  .tabs-nav {
    flex-direction: column;
  }

  .tab-btn {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-analytics h1 {
    font-size: 1.25rem;
  }

  .search-form-analytics {
    flex-direction: column;
  }

  .search-form-analytics input,
  .search-form-analytics select,
  .search-form-analytics button {
    width: 100%;
  }

  .champions-grid-full {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .form-badge {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* ========================================
   Additional Bootstrap Grid Support
   ======================================== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.col-lg-4,
.col-lg-8,
.col-md-6 {
  position: relative;
  width: 100%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

.g-4 {
  margin-right: -1rem;
  margin-left: -1rem;
}

.g-4 > * {
  padding-right: 1rem;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

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

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.text-muted {
  color: var(--ugg-text-secondary) !important;
}

.d-flex {
  display: flex !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.fs-6 {
  font-size: 1rem !important;
}

.small {
  font-size: 0.875rem;
}

.fw-bold {
  font-weight: 700 !important;
}

.btn-group {
  display: inline-flex;
  gap: 0.25rem;
}

.btn-group .btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--ugg-blue);
  color: white;
  border: 1px solid var(--ugg-blue);
}

.btn-outline-primary {
  background: transparent;
  color: var(--ugg-blue);
  border: 1px solid var(--ugg-blue);
}

.btn-outline-primary:hover {
  background: var(--ugg-blue);
  color: white;
}

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