/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 90%, #334155 100%);
  min-height: 100vh;
  color: #e2e8f0;
  line-height: 1.6;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Header */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #14b8a6;
  text-shadow: 0 0 10px rgba(20, 184, 166, 0.3);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.balance {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.3);
}

.username {
  font-weight: 500;
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* Comprehensive Button System */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #64748b, #475569);
  color: white;
  border: none;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
}

.btn-outline {
  background: transparent;
  color: #14b8a6;
  border: 2px solid #14b8a6;
}

.btn-outline:hover {
  background: #14b8a6;
  color: white;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.btn-warning:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}

.btn-info {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
}

.btn-info:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
}

/* Icon Buttons */
.btn-icon {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0 0.5rem 0.5rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  min-width: 2.5rem;
  height: 2.5rem;
}

.btn-icon:hover {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
  transform: translateY(-1px);
}

.btn-icon:active {
  transform: translateY(0);
}

.btn-icon:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.3);
}

/* OAuth Authentication Styles */
.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.oauth-icon {
  flex-shrink: 0;
  filter: brightness(0) invert(1); /* Makes SVG white */
}

.auth-info {
  margin-top: 2rem;
  text-align: center;
}

.auth-disclaimer {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 1rem;
  background: rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  margin: 0;
}

/* Main Content */
.main {
  padding: 0;
}

/* Authentication Section */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.auth-container {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.auth-tabs {
  display: flex;
  background: #0f172a;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #94a3b8;
}

.tab-btn.active {
  background: #1e293b;
  color: #14b8a6;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.auth-form {
  padding: 2rem;
}

.auth-form h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #475569;
  border-radius: 8px;
  font-size: 1rem;
  background: #334155;
  color: #e2e8f0;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #14b8a6;
  background: #475569;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* Error Display Styles */
.error-container {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 1px solid #ef4444;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.error-container.hidden {
  display: none;
}

.error-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.error-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.error-list li::before {
  content: "⚠";
  color: #fbbf24;
  font-weight: bold;
}

.field-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  min-height: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.field-error:not(:empty)::before {
  content: "⚠";
  color: #ef4444;
}

.field-help {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Input validation states */
.form-group input.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.form-group input.success {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

/* Password Requirements */
.password-requirements {
  margin-top: 0.75rem;
  padding: 1rem;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
}

.requirements-title {
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

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

.req-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.requirement.valid .req-icon {
  color: #22c55e;
}

.requirement.invalid .req-icon {
  color: #ef4444;
}

.req-text {
  color: #94a3b8;
  transition: all 0.3s ease;
}

.requirement.valid .req-text {
  color: #22c55e;
}

.requirement.invalid .req-text {
  color: #94a3b8;
}

.requirement.valid .req-icon::before {
  content: "✓";
}

.requirement.invalid .req-icon::before {
  content: "✗";
}

/* Success states */
.password-requirements.all-valid {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
}

.password-requirements.all-valid .requirements-title {
  color: #22c55e;
}

/* App Content */
.app-content {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  padding: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-tab-btn {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .content-tab-btn {
    flex-direction: row;
    padding: 1rem 0;
  }
}

.content-tab-btn::before {
  content: attr(data-icon);
  font-size: 1.1rem;
  line-height: 1;
}

.content-tab-btn.active {
  background: transparent;
  color: #14b8a6;
  border: 1px solid #14b8a6;
  box-shadow: 0 0 5px #14b8a6;
  border-radius: 10px;
  font-weight: 700;
}

/* Section */
.section {
  animation: slideIn 0.5s ease-out;
}

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

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* Fights Grid - Event Based Layout */
.fights-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Event Cards */
.event-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(20, 184, 166, 0.4);
}

.event-header {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

.event-header:hover {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

.event-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.event-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.event-number {
  font-size: 2rem;
  font-weight: 900;
  color: #f1f5f9;
  text-align: center;
  margin-top: 0.25rem;
}

.event-details {
  flex: 1;
}

.event-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-datetime {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.event-date {
  font-size: 1rem;
  font-weight: 600;
  color: #14b8a6;
}

.event-time {
  font-size: 0.9rem;
  color: #94a3b8;
}

.event-venue {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.event-main-fight {
  text-align: right;
  min-width: 200px;
}

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

.preview-fighter {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
}

.preview-vs {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.expand-icon {
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  transition: all 0.3s ease;
}

.expand-icon:hover {
  background: rgba(20, 184, 166, 0.2);
  transform: scale(1.1);
}

.chevron {
  color: #14b8a6;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* Event Fights Container */
.event-fights-container {
  transition: all 0.3s ease;
  overflow: hidden;
}

.event-fights-container.collapsed {
  max-height: 0;
  opacity: 0;
}

.event-fights-container.expanded {
  max-height: none;
  opacity: 1;
}

.event-fights-list {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: #0f172a;
}

/* Card Navigation */
.card-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem 0;
  background: #0f172a;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  margin-bottom: 1rem;
}

.nav-anchor {
  color: #94a3b8;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-anchor:hover {
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-2px);
}

/* Fight Segments */
.fight-segment {
  margin-bottom: 2rem;
}

.segment-header {
  margin-bottom: 1rem;
  text-align: center;
}

.segment-title {
  color: #dc2626;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  padding: 0.5rem 1rem;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 6px;
  display: inline-block;
}

.segment-fights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual Event Fight Cards */
.event-fight-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.clickable-fight {
  cursor: pointer;
}

.clickable-fight:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.1);
  transform: translateX(5px);
  background: #2d3748;
}

.clickable-fight::after {
  content: "👆 Click to bet";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(20, 184, 166, 0.9);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.clickable-fight {
  position: relative;
}

.clickable-fight:hover::after {
  opacity: 1;
}

.event-fight-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.1);
}

.event-fight-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.fighter-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.fighter-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #f1f5f9;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fighter-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.fighter-flag {
  font-size: 1.2rem;
}

.fighter-country {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fighter-odds {
  font-size: 0.9rem;
  font-weight: 600;
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.vs-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-text {
  font-weight: 900;
  font-size: 1.1rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(148, 163, 184, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Legacy fight card styles for backwards compatibility */
.fight-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.fight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(20, 184, 166, 0.4);
}

.fight-event {
  font-size: 0.8rem;
  color: #14b8a6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.fight-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.fighter {
  text-align: center;
  flex: 1;
}

.vs {
  font-weight: 700;
  color: #94a3b8;
  margin: 0 1rem;
}

.fight-date {
  font-size: 0.9rem;
  color: #94a3b8;
  text-align: center;
}

.bet-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Bets List */
.bets-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bet-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.bet-info h4 {
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.bet-details {
  color: #94a3b8;
  font-size: 0.9rem;
}

.bet-card-amount {
  text-align: right;
}

.amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #14b8a6;
  margin-bottom: 0.25rem;
}

.bet-amount {
  margin-bottom: 1.5rem;
}

.bet-amount label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #cbd5e1;
}

.balance-info {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.modal-balance {
  font-weight: 600;
  color: #14b8a6;
}

.bet-amount input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #475569;
  border-radius: 8px;
  font-size: 1rem;
  background: #334155;
  color: #e2e8f0;
}

.bet-amount input:focus {
  outline: none;
  border-color: #14b8a6;
  background: #475569;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.bet-status {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
}

.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-won {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.status-lost {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  padding: 1rem;
  box-sizing: border-box;
}

.modal-content {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 16px;
  width: 90%;
  max-width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.modal-header h3 {
  font-weight: 600;
  color: #f1f5f9;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #94a3b8;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #334155;
  color: #f1f5f9;
}

.modal-body {
  padding: 1.5rem;
}

.fighters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fighters .fighter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid #475569;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  background: #334155;
}

.fighters .fighter:hover {
  border-color: #14b8a6;
  background: #475569;
}

.fighters .fighter input[type="radio"]:checked + .fighter-name,
.fighters .fighter:has(input[type="radio"]:checked) {
  border-color: #14b8a6;
  background: #0f766e;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
}

.toast {
  position: relative;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.toast.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.toast.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.toast-message {
  font-weight: 500;
  color: white;
}

/* Enhanced Bet Success Notification */
.bet-success-notification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bet-success-notification.show {
  opacity: 1;
  pointer-events: auto;
}

.bet-success-notification.closing {
  opacity: 0;
}

.bet-success-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.bet-success-content {
  position: relative;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 2px solid #14b8a6;
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bet-success-notification.show .bet-success-content {
  transform: scale(1);
}

.bet-success-notification .success-icon {
  font-size: 3rem;
  color: #14b8a6;
  animation: successIconPulse 2s ease-in-out infinite;
}

@keyframes successIconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.bet-success-notification .success-message h3 {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.bet-success-notification .success-message p {
  color: #cbd5e1;
  margin: 0 0 1rem 0;
}

.bet-summary-notification {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.bet-summary-notification .summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bet-summary-notification .label {
  color: #94a3b8;
  font-size: 0.875rem;
}

.bet-summary-notification .value {
  color: #f1f5f9;
  font-weight: 600;
}

.bet-summary-notification .potential-win .value {
  color: #14b8a6;
  font-weight: 700;
}

.close-notification {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-notification:hover {
  color: #f1f5f9;
  background: rgba(148, 163, 184, 0.2);
}

@media (max-width: 480px) {
  .bet-success-content {
    max-width: 90vw;
    padding: 1.5rem;
  }

  .bet-success-notification .success-message h3 {
    font-size: 1.125rem;
  }

  .bet-success-notification .success-icon {
    font-size: 2.5rem;
  }
}

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

  .nav {
    padding: 0.5rem 0;
  }

  .user-info {
    gap: 0.6rem;
  }

  .btn-icon {
    min-width: 2.35rem;
    height: 2.35rem;
  }

  .auth-container {
    padding: 1.5rem;
  }

  .fights-grid,
  .admin-fights-grid {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    margin-bottom: 1rem;
    border-radius: 6px;
    padding: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .admin-tab-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem;
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(20, 184, 166, 0.1);
  }

  .admin-tab-btn.active {
    font-weight: 600;
    border-color: rgba(20, 184, 166, 0.3);
  }

  .form-row {
    flex-direction: column;
  }

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

  .vs {
    writing-mode: horizontal-tb;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1;
    min-width: 120px;
  }

  /* Event card mobile styles */
  .event-header {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .event-info {
    flex-direction: column;
    gap: 1rem;
  }

  .event-logo {
    align-self: center;
  }

  .event-main-fight {
    text-align: center;
    min-width: auto;
  }

  .event-actions {
    align-self: center;
  }

  .event-fight-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vs-section {
    order: 2;
  }

  .fighter-section:first-child {
    order: 1;
  }

  .fighter-section:last-child {
    order: 3;
  }

  .event-fights-list {
    padding: 1rem;
  }

  .event-fight-card {
    padding: 1rem;
  }

  .card-navigation {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }

  .nav-anchor {
    text-align: center;
    padding: 0.75rem;
  }

  .segment-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: row;
    gap: 0.5rem;
    text-align: left;
  }

  .user-info {
    gap: 0.5rem;
  }

  .user-details {
    gap: 0.15rem;
  }

  .user-actions {
    gap: 0.25rem;
  }

  .btn-icon {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }

  .auth-container {
    margin: 0 10px;
  }

  .admin-tabs {
    padding: 0.375rem;
    gap: 0.375rem;
  }

  .admin-tab-btn {
    padding: 0.625rem 0.75rem;
    font-size: 0.85rem;
    min-width: calc(50% - 0.25rem);
    flex: 1 1 calc(50% - 0.25rem);
  }

  /* Extra small mobile improvements for picks modal */
  .picks-modal-content {
    max-width: 98%;
    max-height: 95vh;
    margin: 0.5rem auto;
  }

  .picks-modal-header {
    padding: 0.75rem;
  }

  .picks-modal-body {
    padding: 0.75rem;
  }

  .modal-header-actions {
    gap: 0.25rem;
  }

  .odds-history-btn {
    padding: 0.5rem;
    min-width: auto;
  }

  .modal-outcome-odds {
    padding: 0.875rem;
    min-height: 90px;
  }

  .modal-team-name,
  .modal-outcome-name {
    font-size: 0.95rem;
  }

  .modal-best-odds {
    font-size: 1.1rem;
  }

  .modal-outcome-odds.selected .modal-best-odds {
    font-size: 1.1rem;
  }
}

/* Admin Styles */
.admin-content {
  animation: fadeIn 0.5s ease;
}

.admin-tabs {
  display: flex;
  background: #0f172a;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.admin-tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #94a3b8;
  white-space: nowrap;
  min-width: fit-content;
}

.admin-tab-btn.active {
  background: #14b8a6;
  color: white;
}

.admin-subsection {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.admin-subsection h3 {
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.admin-fights-grid {
  display: grid;
  gap: 1.5rem;
}

.admin-fight-card {
  background: #334155;
  border: 2px solid #475569;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.admin-fight-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
}

.admin-fight-header {
  display: flex;
  justify-content: between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.admin-fight-info {
  flex: 1;
}

.admin-fight-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-upcoming {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-completed {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.admin-fighters {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-fighter {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border: 2px solid #475569;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #1e293b;
  color: #e2e8f0;
}

.admin-fighter.winner {
  background: rgba(20, 184, 166, 0.2);
  border-color: #14b8a6;
  color: #14b8a6;
  font-weight: 600;
}

.admin-vs {
  font-weight: 700;
  color: #94a3b8;
}

.admin-fight-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-form {
  background: #334155;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #475569;
}

.bet-stats {
  background: #334155;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.bet-stats h4 {
  color: #f1f5f9;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.bet-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.bet-stat-card {
  background: #1e293b;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #475569;
}

.bet-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #14b8a6;
}

.bet-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bet-list {
  max-height: 300px;
  overflow-y: auto;
}

.bet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #475569;
}

.bet-item:last-child {
  border-bottom: none;
}

.bet-user {
  font-weight: 500;
  color: #f1f5f9;
}

.bet-prediction {
  color: #94a3b8;
  font-size: 0.9rem;
}

.bet-amount-display {
  font-weight: 600;
  color: #14b8a6;
}

.fight-details {
  text-align: center;
  margin-bottom: 1.5rem;
}

.fight-details h4 {
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.fight-details p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #94a3b8;
}

.empty-state h3 {
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

/* Event Management Styles */
.admin-form-section {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.admin-form-section h4 {
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.events-list-section {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.events-list-section h4 {
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.admin-events-grid {
  display: grid;
  gap: 1.5rem;
}

.admin-event-card {
  background: #334155;
  border: 2px solid #475569;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.admin-event-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
}

.admin-event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.admin-event-info h4 {
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.admin-event-info p {
  color: #94a3b8;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.event-venue {
  color: #14b8a6 !important;
  font-weight: 500;
}

.event-description {
  color: #06b6d4 !important;
  font-style: italic;
}

.admin-event-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-event-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #1e293b;
  border-radius: 8px;
}

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

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #14b8a6;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-event-actions {
  display: flex;
  gap: 1rem;
}

/* Form improvements */
.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #475569;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #334155;
  color: #e2e8f0;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #14b8a6;
  background: #475569;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

select.form-input {
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-event-header {
    flex-direction: column;
    gap: 1rem;
  }

  .admin-event-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .admin-event-actions {
    flex-direction: column;
  }
}

/* Spreadsheet Styles */
.spreadsheet-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #1e293b;
  border-radius: 8px;
  border: 2px solid #475569;
}

.control-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.spreadsheet-instructions {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.spreadsheet-instructions ul {
  margin: 0.5rem 0 0 1rem;
  color: #3b82f6;
}

.spreadsheet-instructions li {
  margin-bottom: 0.25rem;
}

.bulk-operations {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(251, 191, 36, 0.1);
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
}

.bulk-event-selection {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bulk-event-selection label {
  font-weight: 600;
  color: #fbbf24;
}

.spreadsheet-container {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-bottom: 1rem;
}

.spreadsheet-wrapper {
  overflow-x: auto;
  max-height: 600px;
  overflow-y: auto;
}

.spreadsheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spreadsheet-table th {
  background: #334155;
  color: #f1f5f9;
  font-weight: 600;
  padding: 0.75rem;
  text-align: left;
  border-bottom: 2px solid #475569;
  position: sticky;
  top: 0;
  z-index: 10;
}

.spreadsheet-table td {
  padding: 0;
  border-bottom: 1px solid #475569;
  border-right: 1px solid #334155;
  vertical-align: middle;
  height: 40px;
}

.spreadsheet-table tr:hover {
  background: #334155;
}

.spreadsheet-table tr.selected {
  background: rgba(59, 130, 246, 0.2);
}

.spreadsheet-table tr.changed {
  background: rgba(251, 191, 36, 0.2);
}

.spreadsheet-table tr.new-row {
  border-left: 4px solid #14b8a6;
}

.spreadsheet-table tr.existing-row {
  border-left: 4px solid #3b82f6;
}

.spreadsheet-table tr.existing-row.changed {
  background: rgba(251, 191, 36, 0.2);
  border-left: 4px solid #fbbf24;
}

.select-col {
  width: 40px;
  text-align: center;
}

.row-num-col {
  width: 50px;
  text-align: center;
  background: #334155;
  font-weight: 600;
  color: #94a3b8;
}

.event-col {
  width: 200px;
}

.fighter-col {
  width: 180px;
}

.status-col {
  width: 100px;
}

.actions-col {
  width: 120px;
}

.cell-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0.5rem;
  background: transparent;
  color: #e2e8f0;
  font-family: inherit;
  font-size: inherit;
}

.cell-input:focus {
  background: #475569;
  box-shadow: inset 0 0 0 2px #14b8a6;
}

.cell-select {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0.5rem;
  background: transparent;
  color: #e2e8f0;
  font-family: inherit;
  font-size: inherit;
}

.cell-select:focus {
  background: #475569;
  box-shadow: inset 0 0 0 2px #14b8a6;
}

.cell-content {
  padding: 0.5rem;
  min-height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cell-content:hover {
  background: #334155;
}

.cell-content.editing {
  padding: 0;
}

.row-checkbox {
  margin: 0;
  cursor: pointer;
}

.row-number {
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  padding: 0.5rem;
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  min-width: 70px;
}

.status-upcoming {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-completed {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-btn {
  padding: 0.25rem 0.5rem;
  margin: 0 0.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.action-btn.delete {
  background: #fecaca;
  color: #dc2626;
}

.action-btn.delete:hover {
  background: #dc2626;
  color: white;
}

.action-btn.duplicate {
  background: #e0e7ff;
  color: #3730a3;
}

.action-btn.duplicate:hover {
  background: #3730a3;
  color: white;
}

.spreadsheet-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-radius: 0 0 8px 8px;
  font-size: 0.875rem;
}

.changes-indicator {
  color: #dc2626;
  font-weight: 600;
}

.changes-indicator.hidden {
  display: none;
}

.row-type-icon {
  font-size: 0.8rem;
  margin-right: 0.25rem;
}

.cell-content.restricted-edit {
  background: #fee2e2;
  border-radius: 4px;
}

.cell-content.restricted-edit:hover {
  background: #fecaca !important;
  cursor: not-allowed;
}

.action-btn.info {
  background: #e0e7ff;
  color: #3730a3;
}

.action-btn.info:hover {
  background: #3730a3;
  color: white;
}

/* Responsive spreadsheet */
@media (max-width: 1024px) {
  .spreadsheet-wrapper {
    max-height: 500px;
  }

  .fighter-col {
    width: 150px;
  }

  .event-col {
    width: 160px;
  }
}

@media (max-width: 768px) {
  .spreadsheet-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .control-group {
    justify-content: center;
  }

  .bulk-event-selection {
    flex-direction: column;
    align-items: stretch;
  }

  .spreadsheet-table {
    font-size: 12px;
  }

  .fighter-col {
    width: 120px;
  }

  .event-col {
    width: 160px;
  }

  .spreadsheet-wrapper {
    max-height: 400px;
  }
}

/* Sports and Odds Management Styles - Dark Theme */

/* Sports Header */
.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sports-header h2 {
  color: #14b8a6;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.sports-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

.sport-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sport-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
}

.sport-card.inactive {
  opacity: 0.7;
  border: 1px solid rgba(148, 163, 184, 0.2);
  filter: grayscale(0.5);
}

.sport-card.inactive .sport-card-header h4 {
  color: #94a3b8;
}

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

.sport-card-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

.sport-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.sport-status.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.sport-status.inactive {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.sport-description {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sport-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sport-card-actions .btn {
  flex: 1;
  min-width: 120px;
}

.sport-meta {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  padding-top: 0.75rem;
}

.sport-meta .badge {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
}

/* Split Sports Layout */

.sports-content {
  display: flex;
  gap: 1.5rem;
  min-height: 400px;
}

.sports-sidebar {
  flex: 0 0 280px;
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.1);
  border-radius: 12px;
  padding: 1rem;
  overflow-y: auto;
  max-height: 80vh;
}

.sports-main {
  flex: 1;
  min-width: 0;
}

.sports-list-compact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sport-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: rgba(20, 184, 166, 0.02);
}

.sport-card:hover {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateX(2px);
}

.sport-card.selected {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.5);
}

.sport-card > * {
  position: relative;
  z-index: 2;
}

.sport-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 2px 12px rgba(20, 184, 166, 0.25);
  transition: all 0.2s ease;
}

.sport-card:hover .sport-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
}

.sport-card-header {
  flex: 1;
  margin-bottom: 0;
}

.sport-card-header h4 {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #f1f5f9;
}

.sport-card.inactive .sport-icon {
  background: linear-gradient(135deg, #64748b, #475569);
}

.sport-card.inactive .sport-card-header h4 {
  color: #94a3b8;
}

/* Matches View */
.matches-view {
  margin: 0;
}

.matches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.matches-header h2 {
  color: #14b8a6;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.matches-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: rgba(20, 184, 166, 0.05);
  border: 2px dashed rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  color: #94a3b8;
  text-align: center;
  flex-direction: column;
  gap: 0.5rem;
}

.matches-placeholder i {
  font-size: 2rem;
  color: rgba(20, 184, 166, 0.4);
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sports-content {
    flex-direction: column;
    gap: 1rem;
  }

  .sports-sidebar {
    flex: none;
    max-height: none;
    overflow-y: visible;
  }

  .sports-list-compact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .sport-card {
    flex: 0 0 calc(50% - 0.25rem);
    min-width: 0;
  }

  .matches-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .sports-content {
    gap: 0.75rem;
  }

  .sports-sidebar {
    padding: 0.75rem;
  }

  .sport-card {
    flex: 0 0 100%;
    padding: 0.75rem;
  }

  .sport-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.15rem;
  }

  .sport-card-header h4 {
    font-size: 0.9rem;
  }

  .matches-header h2 {
    font-size: 1.25rem;
  }

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

  .match-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .match-card:hover {
    transform: translateY(-2px);
  }

  .outcome-odds {
    padding: 0.875rem 0.625rem;
    min-height: 90px;
  }

  .outcome-odds.clickable:hover {
    transform: translateY(-2px);
  }

  .best-odds {
    font-size: 1.125rem;
  }

  .vs-separator {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }

  .match-time-footer {
    font-size: 0.7rem;
  }

  .matches-placeholder {
    min-height: 200px;
  }
}

.match-card {
  background: linear-gradient(135deg, #1e293b 0%, #1a252f 100%);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.match-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #14b8a6, #0891b2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.3);
  border-color: rgba(20, 184, 166, 0.5);
}

.match-card:hover::before {
  opacity: 1;
}

.match-card.upcoming {
  border-left: 4px solid #10b981;
}

.match-card.upcoming::before {
  opacity: 0.6;
}

/* Match Event Info Styles */
.match-event-info {
  margin: 1rem 0;
  padding: 0.75rem;
  background: rgba(20, 184, 166, 0.05);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 8px;
}

.match-event-info .event-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #14b8a6;
  margin-bottom: 0.5rem;
}

.match-event-info .event-venue,
.match-event-info .event-location {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.match-event-info .event-venue:last-child,
.match-event-info .event-location:last-child {
  margin-bottom: 0;
}

.match-event-info i {
  width: 12px;
  color: #14b8a6;
  font-size: 0.8rem;
}

/* Modal Event Info Styles */
.modal-event-info {
  margin: 1rem 0;
  padding: 0.75rem;
  background: rgba(20, 184, 166, 0.05);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 8px;
}

.modal-event-info .modal-event-name {
  font-size: 1rem;
  font-weight: 600;
  color: #14b8a6;
  margin-bottom: 0.5rem;
}

.modal-event-info .modal-event-venue,
.modal-event-info .modal-event-location {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-event-info .modal-event-venue:last-child,
.modal-event-info .modal-event-location:last-child {
  margin-bottom: 0;
}

.modal-event-info i {
  width: 14px;
  color: #14b8a6;
  font-size: 0.85rem;
}

.match-card.past {
  opacity: 0.7;
  border-left: 4px solid #64748b;
}

.match-card.disabled {
  opacity: 0.5;
  border-left: 4px solid #ef4444;
  background: #1e293b;
  filter: grayscale(0.3);
}

.match-card.disabled .match-teams {
  color: #94a3b8;
}

.disabled-indicator {
  background: #ef4444;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.match-header {
  margin-bottom: 1rem;
}

.match-teams {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.team {
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
  color: #f1f5f9;
}

.team.home-team {
  text-align: left;
  color: #0ea5e9; /* Ocean blue for home team */
}

.team.away-team {
  text-align: right;
  color: #f59e0b; /* Amber for away team */
}

.vs {
  font-weight: bold;
  color: #14b8a6;
  margin: 0 1rem;
  font-size: 0.9rem;
}

.match-time {
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1rem;
}

.odds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  align-items: stretch;
}

.odds-grid-ordered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.odds-grid-ordered .other-odds {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 1rem);
  margin-top: 0.5rem;
}

.vs-separator {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  padding: 0.5rem 0.875rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.team-name {
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  min-height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  hyphens: auto;
}

.outcome-odds {
  text-align: center;
  padding: 1rem 0.75rem;
  background: linear-gradient(135deg, #334155 0%, #2a3441 100%);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.outcome-odds::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.1),
    rgba(8, 145, 178, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.outcome-odds.clickable {
  cursor: pointer;
}

.outcome-odds.clickable:hover {
  background: linear-gradient(135deg, #475569 0%, #3b4757 100%);
  border-color: rgba(20, 184, 166, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.outcome-odds.clickable:hover::before {
  opacity: 1;
}

.outcome-odds.clickable:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.outcome-odds.clickable:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
}

/* Loading state for better UX feedback */
.outcome-odds.loading {
  position: relative;
  pointer-events: none;
}

.outcome-odds.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid #14b8a6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.outcome-odds.loading .best-odds,
.outcome-odds.loading .team-name,
.outcome-odds.loading .bookmaker {
  opacity: 0.3;
}

.outcome-name {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.best-odds {
  font-weight: 800;
  font-size: 1.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.bookmaker {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.no-odds {
  color: #94a3b8;
  font-style: italic;
  text-align: center;
  padding: 1rem;
  background: #334155;
  border-radius: 8px;
}

.match-actions {
  text-align: center;
  margin-top: 1rem;
}

.match-meta {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  padding-top: 0.75rem;
}

/* Match Time Footer - Subtle placement at bottom */
.match-time-footer {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 400;
  border-top: 1px solid rgba(100, 116, 139, 0.15);
}

.match-teams-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.away-team-main {
  font-weight: 700;
  font-size: 1.25rem;
  color: #f59e0b; /* Amber for away team */
  text-align: center;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}

.home-team-main {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0ea5e9; /* Ocean blue for home team */
  text-align: center;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}

.vs-main {
  font-weight: 700;
  font-size: 0.8rem;
  color: #14b8a6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  flex-shrink: 0;
}

/* Make odds more prominent */
.match-card .odds-grid {
  margin-top: 0.5rem;
}

.match-card .outcome-odds {
  padding: 1rem 0.75rem;
  transition: all 0.3s ease;
}

.match-card .outcome-odds .outcome-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.match-card .outcome-odds .best-odds {
  font-weight: 800;
}

.match-card .outcome-odds .bookmaker {
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 500;
}

.match-card .outcome-odds.clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
  border-color: rgba(20, 184, 166, 0.5);
}

/* Player Pick Styles */
.pick-options {
  margin: 1.5rem 0;
}

.bet-summary {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.summary-row:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #14b8a6;
}

.match-info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.team {
  font-weight: 600;
  font-size: 1.1rem;
  color: #f1f5f9;
}

/* Enhanced Modal Match Info */
.match-info-enhanced {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.match-time-modal {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
  background: rgba(148, 163, 184, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  align-self: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-past {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Bets Management Styles */
.bets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.bets-stats {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

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

.stat-card {
  text-align: center;
  padding: 1rem;
  background: #334155;
  border-radius: 8px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #14b8a6;
  margin-bottom: 0.25rem;
}

.stat-value.positive {
  color: #10b981;
}

.stat-value.negative {
  color: #ef4444;
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.bets-section {
  margin-bottom: 3rem;
}

.bets-section h3 {
  color: #14b8a6;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.bet-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.2);
}

.bet-card.status-pending {
  border-left: 4px solid #fbbf24;
}

.bet-card.status-won {
  border-left: 4px solid #10b981;
}

.bet-card.status-lost {
  border-left: 4px solid #ef4444;
}

.bet-card.status-cancelled {
  border-left: 4px solid #64748b;
}

.bet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bet-match .teams-main {
  font-weight: 700;
  color: #f1f5f9;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.bet-match .sport-title {
  font-size: 0.85rem;
  color: #14b8a6;
  font-weight: 500;
  text-transform: capitalize;
}

.bet-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bet-outcome {
  padding: 0.5rem 0.75rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bet-outcome .outcome-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.bet-outcome .outcome-value {
  font-weight: 600;
  color: #14b8a6;
  font-size: 0.95rem;
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
}

.status-badge.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.status-won {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.status-lost {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.status-cancelled {
  background: rgba(100, 116, 139, 0.2);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.bet-details-compact {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem;
  background: #334155;
  border-radius: 8px;
}

.bet-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.detail-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: #f1f5f9;
}

.detail-value.amount {
  color: #14b8a6;
}

.detail-value.odds {
  color: #fbbf24;
}

.detail-value.profit {
  color: #10b981;
}

.bet-footer {
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  padding-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.bet-timestamps-compact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.timestamp-compact {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.timestamp-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  min-width: 55px;
}

.timestamp-value {
  font-size: 0.75rem;
  color: #e2e8f0;
  font-weight: 400;
}

.match-status-compact {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
}

.live-indicator {
  color: #ef4444 !important;
  font-weight: 600;
}

/* Content Tabs Updates */
.content-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
}

.content-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(20, 184, 166, 0.1);
}

.content-tab-btn.active {
  color: #14b8a6;
  border-bottom-color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
}

.section {
  display: none;
}

.section.active {
  display: block;
}

/* Leaderboard Styles */
.leaderboard-content {
  max-width: 800px;
  margin: 0 auto;
}

.leaderboard-interface {
  margin-top: 1rem;
}

.leaderboard-controls {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
}

.leaderboard-compact-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.desktop-only {
  display: block;
}

.picks-separator {
  margin: 0 0.5rem;
}

.leaderboard-compact-btn {
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 6px;
  color: #94a3b8;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  font-size: 0.8rem;
}

.leaderboard-compact-btn:hover {
  background: #475569;
  border-color: rgba(20, 184, 166, 0.5);
  color: #f1f5f9;
  transform: translateY(-1px);
}

.leaderboard-compact-btn.active {
  background: rgba(20, 184, 166, 0.1);
  border-color: #14b8a6;
  color: #14b8a6;
}

.leaderboard-compact-btn.active:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: #0d9488;
  color: #0d9488;
  transform: translateY(-1px);
}

.leaderboard-compact-btn .btn-icon {
  font-size: 1rem;
}

.leaderboard-compact-btn .btn-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

.nav-separator {
  width: 1px;
  height: 40px;
  background: rgba(100, 116, 139, 0.3);
  margin: 0 0.5rem;
}

.leaderboard-display {
  padding: 2rem;
  background: #1e293b;
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.leaderboard-header {
  margin-bottom: 2rem;
}

.leaderboard-header h3 {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.leaderboard-description {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.4;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.leaderboard-item:hover {
  background: #475569;
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-2px);
}

.leaderboard-item:hover .rank {
  background: rgba(20, 184, 166, 0.2);
  border-color: #14b8a6;
}

.leaderboard-item.rank-1:hover .rank {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
}

.leaderboard-item.rank-2:hover .rank {
  background: rgba(192, 192, 192, 0.2);
  border-color: #c0c0c0;
}

.leaderboard-item.rank-3:hover .rank {
  background: rgba(205, 127, 50, 0.2);
  border-color: #cd7f32;
}

.leaderboard-item.rank-1 {
  border-color: #ffd700;
  background: linear-gradient(135deg, #334155 0%, rgba(255, 215, 0, 0.1) 100%);
}

.leaderboard-item.rank-1 .rank {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-color: #ffd700;
}

.leaderboard-item.rank-1 .rank-number {
  color: #0f172a;
}

.leaderboard-item.rank-1 .player-value {
  color: #ffd700;
}

.leaderboard-item.rank-2 {
  border-color: #c0c0c0;
  background: linear-gradient(
    135deg,
    #334155 0%,
    rgba(192, 192, 192, 0.1) 100%
  );
}

.leaderboard-item.rank-2 .rank {
  background: linear-gradient(135deg, #c0c0c0, #e5e7eb);
  border-color: #c0c0c0;
}

.leaderboard-item.rank-2 .rank-number {
  color: #0f172a;
}

.leaderboard-item.rank-2 .player-value {
  color: #c0c0c0;
}

.leaderboard-item.rank-3 {
  border-color: #cd7f32;
  background: linear-gradient(135deg, #334155 0%, rgba(205, 127, 50, 0.1) 100%);
}

.leaderboard-item.rank-3 .rank {
  background: linear-gradient(135deg, #cd7f32, #d97706);
  border-color: #cd7f32;
}

.leaderboard-item.rank-3 .rank-number {
  color: #0f172a;
}

.leaderboard-item.rank-3 .player-value {
  color: #cd7f32;
}

.leaderboard-item.current-user {
  border-left: 4px solid #14b8a6;
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.1) 0%,
    rgba(20, 184, 166, 0.05) 100%
  );
  position: relative;
}

.leaderboard-item.current-user::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #14b8a6, #5eead4);
  border-radius: 0 4px 4px 0;
}

.leaderboard-item.current-user .player-name {
  color: #14b8a6;
  font-weight: 600;
}

.leaderboard-item.current-user .rank {
  background: rgba(20, 184, 166, 0.2);
  border-color: #14b8a6;
}

.leaderboard-item.current-user .rank-number {
  color: #14b8a6;
}

.leaderboard-item.current-user:hover {
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.15) 0%,
    rgba(20, 184, 166, 0.08) 100%
  );
}

.leaderboard-item.current-user.rank-1,
.leaderboard-item.current-user.rank-2,
.leaderboard-item.current-user.rank-3 {
  border-left: 4px solid #14b8a6;
}

.leaderboard-item.current-user.rank-1 .player-name,
.leaderboard-item.current-user.rank-2 .player-name,
.leaderboard-item.current-user.rank-3 .player-name {
  color: #14b8a6;
}

.rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: #475569;
  border: 2px solid rgba(100, 116, 139, 0.4);
  border-radius: 50%;
  margin-right: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rank-number {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 1;
}

.player-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
}

.player-name {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 1.1rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-value {
  color: #14b8a6;
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.user-rank-info {
  margin-bottom: 2rem;
}

.user-rank-info h4 {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-rank-icon {
  font-size: 1.2rem;
}

.user-rank-card {
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.1) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.user-rank-card:hover {
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.15) 0%,
    rgba(59, 130, 246, 0.15) 100%
  );
  transform: translateY(-2px);
}

.user-rank-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #3b82f6, #14b8a6);
  border-radius: 12px 12px 0 0;
}

.user-rank-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.user-rank-position {
  font-size: 2rem;
  font-weight: 800;
  color: #14b8a6;
  text-shadow: 0 2px 4px rgba(20, 184, 166, 0.3);
}

.user-rank-details {
  text-align: center;
}

.user-rank-value {
  font-size: 1.25rem;
  color: #f1f5f9;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.user-rank-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .leaderboard-controls {
    margin-bottom: 1.5rem;
  }

  .leaderboard-compact-nav {
    gap: 0.75rem;
    flex-direction: column;
  }

  .nav-group {
    justify-content: center;
    gap: 0.2rem;
  }

  .desktop-only {
    display: none;
  }

  .picks-separator {
    margin: 0 0.3rem;
  }

  .leaderboard-compact-btn {
    min-width: 55px;
    padding: 0.4rem 0.6rem;
  }

  .leaderboard-compact-btn .btn-icon {
    font-size: 0.9rem;
  }

  .leaderboard-compact-btn .btn-label {
    font-size: 0.6rem;
  }

  .nav-separator {
    height: 35px;
  }
}

@media (max-width: 480px) {
  .leaderboard-compact-nav {
    gap: 0.5rem;
    padding: 0 0.5rem;
    flex-direction: column;
  }

  .nav-group {
    justify-content: center;
    gap: 0.15rem;
  }

  .picks-separator {
    margin: 0 0.25rem;
  }

  .leaderboard-compact-btn {
    min-width: 50px;
    padding: 0.35rem 0.5rem;
  }

  .leaderboard-compact-btn .btn-icon {
    font-size: 0.85rem;
  }

  .leaderboard-compact-btn .btn-label {
    font-size: 0.55rem;
  }

  .nav-separator {
    height: 30px;
  }
}

.display-name-prompt {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(20, 184, 166, 0.1) 100%
  );
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.prompt-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.prompt-content {
  flex: 1;
}

.prompt-content h4 {
  color: #60a5fa;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.prompt-content p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.prompt-content a {
  color: #14b8a6;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.prompt-content a:hover {
  color: #5eead4;
  border-bottom-color: #14b8a6;
}

@media (max-width: 768px) {
  .display-name-prompt {
    padding: 1rem;
    gap: 0.75rem;
  }

  .prompt-icon {
    font-size: 1.25rem;
  }

  .prompt-content h4 {
    font-size: 1rem;
  }

  .prompt-content p {
    font-size: 0.85rem;
  }
}

/* Picks Leaderboard Styles */
.picks-leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pick-leaderboard-item {
  display: flex;
  align-items: flex-start;
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.pick-leaderboard-item:hover {
  background: #475569;
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-2px);
}

.pick-details {
  flex: 1;
  margin: 0 1rem;
}

.pick-main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.pick-left {
  flex: 1;
  min-width: 0;
}

.pick-right {
  flex-shrink: 0;
  text-align: right;
}

.pick-user {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.pick-selection {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.pick-selection .pick-label {
  color: #94a3b8;
  font-size: 0.85rem;
}

.pick-selection .pick-value {
  color: #14b8a6;
  font-weight: 600;
  font-size: 0.9rem;
}

.pick-amount {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.pick-amount.amount-won {
  color: #22c55e;
}

.pick-amount.amount-lost {
  color: #ef4444;
}

.pick-amount-label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}

.original-pick-amount {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Match info styling */
.pick-match-info {
  margin-bottom: 0.75rem;
}

.pick-match-info .sport-title {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.pick-match-info .match-teams {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}

.pick-date {
  color: #94a3b8;
  font-size: 0.8rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Legacy styles - keeping for backwards compatibility */
.pick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pick-amounts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.pick-bet-amount {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.pick-info {
  margin-bottom: 0.75rem;
}

.pick-match {
  margin-bottom: 0.5rem;
}

.sport-title {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}

.match-teams {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}

.pick-outcome {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.pick-label {
  color: #94a3b8;
  font-size: 0.85rem;
}

.pick-value {
  color: #14b8a6;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Apply rank styling to pick items */
.pick-leaderboard-item.rank-1 {
  border-color: #ffd700;
  background: linear-gradient(135deg, #334155 0%, rgba(255, 215, 0, 0.1) 100%);
}

@media (max-width: 768px) {
  .pick-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

.pick-leaderboard-item.rank-2 {
  border-color: #c0c0c0;
  background: linear-gradient(
    135deg,
    #334155 0%,
    rgba(192, 192, 192, 0.1) 100%
  );
}

.pick-leaderboard-item.rank-3 {
  border-color: #cd7f32;
  background: linear-gradient(135deg, #334155 0%, rgba(205, 127, 50, 0.1) 100%);
}

.pick-leaderboard-item.current-user {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(20, 184, 166, 0.1) 100%
  );
  border: 2px solid rgba(59, 130, 246, 0.4);
}

.pick-leaderboard-item.current-user::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6, #14b8a6);
  border-radius: 0 8px 8px 0;
}

.pick-leaderboard-item.current-user .pick-user {
  color: #3b82f6;
  font-weight: 700;
}

@media (max-width: 768px) {
  .picks-leaderboard-list {
    gap: 1.25rem;
  }

  .pick-leaderboard-item {
    padding: 1rem;
  }

  /* Update for new layout */
  .pick-main-content {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .pick-left {
    margin-bottom: 0.5rem;
  }

  .pick-right {
    text-align: left;
  }

  .pick-selection {
    flex-wrap: wrap;
    gap: 0.25rem;
    text-align: left;
  }

  .pick-amount {
    font-size: 1rem;
    text-align: left;
  }

  .pick-user {
    font-size: 0.9rem;
    text-align: left;
  }

  .pick-match-info .match-teams {
    font-size: 0.85rem;
    text-align: left;
  }

  .pick-date {
    text-align: left;
  }

  .pick-amount-label {
    text-align: left;
  }

  .original-pick-amount {
    text-align: left;
  }

  /* Legacy mobile support */
  .pick-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pick-amounts {
    align-items: flex-start;
    text-align: left;
  }

  .pick-bet-amount {
    text-align: left;
  }

  .match-teams {
    font-size: 0.85rem;
    text-align: left;
  }
}

/* API Usage Styles */
.api-usage-view {
  margin-top: 2rem;
}

.api-usage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.api-usage-header h2 {
  color: #14b8a6;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.current-usage-card,
.daily-breakdown-card,
.api-info-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.current-usage-card h3,
.daily-breakdown-card h3,
.api-info-card h3 {
  color: #14b8a6;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat {
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.stat:hover {
  background: #475569;
  border-color: rgba(20, 184, 166, 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f1f5f9;
}

.stat-value.status-good {
  color: #10b981;
}

.stat-value.status-warning {
  color: #f59e0b;
}

.stat-value.status-critical {
  color: #ef4444;
}

.usage-warnings {
  margin-top: 1rem;
}

.warning {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.warning.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid #f59e0b;
}

.warning.critical {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid #ef4444;
}

.breakdown-table {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

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

.breakdown-table th,
.breakdown-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
}

.breakdown-table th {
  background: #334155;
  font-weight: 600;
  color: #14b8a6;
  border-bottom: 2px solid rgba(20, 184, 166, 0.3);
}

.breakdown-table .total-row {
  background: #334155;
  font-weight: 600;
  border-top: 2px solid rgba(20, 184, 166, 0.3);
}

.api-info {
  margin-bottom: 1.5rem;
}

.api-info p {
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.api-info a {
  color: #14b8a6;
  text-decoration: none;
}

.api-info a:hover {
  text-decoration: underline;
}

.recommendations h4 {
  color: #14b8a6;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.recommendations ul {
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.recommendations li {
  margin-bottom: 0.5rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Odds History Modal */
.odds-history-table {
  max-height: 400px;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.odds-history-table table {
  width: 100%;
  border-collapse: collapse;
}

.odds-history-table th,
.odds-history-table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
}

.odds-history-table th {
  background: #334155;
  position: sticky;
  top: 0;
  font-weight: 600;
  color: #14b8a6;
}

/* No Data States */
.no-data {
  text-align: center;
  padding: 3rem;
  color: #94a3b8;
  background: #334155;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.3);
}

.no-usage-data {
  text-align: center;
  padding: 2rem;
  color: #94a3b8;
  background: #334155;
  border-radius: 8px;
  border: 1px dashed rgba(148, 163, 184, 0.3);
}

/* Loading States */
.loading {
  text-align: center;
  padding: 2rem;
  color: #14b8a6;
  font-size: 1.1rem;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-content {
  text-align: center;
  color: #14b8a6;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(20, 184, 166, 0.3);
  border-top: 3px solid #14b8a6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

.loading-message {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Error States */
.error-message {
  text-align: center;
  padding: 2rem;
  color: #ef4444;
  background: #334155;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.error-message h3 {
  color: #ef4444;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.error-message p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Modal Updates for Dark Theme */
.modal-content {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid rgba(20, 184, 166, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
  color: #14b8a6;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.close-btn {
  color: #94a3b8;
  font-size: 1.5rem;
}

.close-btn:hover {
  color: #ef4444;
}

/* Score Updates Management Styles */
.scores-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.scores-header h2 {
  color: #14b8a6;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.scores-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scores-status-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.status-card {
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.status-card:hover {
  background: #475569;
  border-color: rgba(20, 184, 166, 0.3);
}

.status-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.status-number {
  font-size: 2rem;
  font-weight: bold;
  color: #14b8a6;
  margin-bottom: 0.25rem;
}

.status-label {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.sports-needing-updates,
.all-sports-with-bets {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sports-needing-updates h3,
.all-sports-with-bets h3 {
  color: #14b8a6;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sports-update-table,
.sports-summary-table {
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: #334155;
}

.update-table-header,
.summary-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #475569;
  font-weight: 600;
  color: #14b8a6;
  font-size: 0.9rem;
}

.summary-table-header {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}

.update-table-row,
.summary-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
}

.summary-table-row {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}

.update-table-row:hover,
.summary-table-row:hover {
  background-color: #475569;
}

.sport-key {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.badge-primary {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.badge-secondary {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.status-badge.needs-update {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.up-to-date {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.never-updated {
  color: #ef4444;
  font-style: italic;
}

.update-results {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.update-results h3 {
  color: #14b8a6;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.results-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-card {
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.result-card.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.result-card.info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.result-card.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.result-card.neutral {
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.3);
}

.result-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.result-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.result-label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.sports-processed {
  margin-top: 1.5rem;
}

.sports-processed h4 {
  color: #14b8a6;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.processed-sports-table {
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: #334155;
}

.processed-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #475569;
  font-weight: 600;
  color: #14b8a6;
  font-size: 0.9rem;
}

.processed-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
}

.processed-table-row:hover {
  background-color: #475569;
}

.update-errors {
  margin-top: 1.5rem;
}

.update-errors h4 {
  color: #ef4444;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.error-list {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 1rem;
}

.error-item {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-family: "Monaco", "Menlo", monospace;
  font-size: 0.9rem;
}

.error-item:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .matches-grid {
    grid-template-columns: 1fr;
  }

  .matches-header,
  .sports-header,
  .api-usage-header,
  .scores-header {
    flex-direction: column;
    align-items: stretch;
  }

  .scores-actions {
    justify-content: center;
  }

  .scores-status-overview {
    grid-template-columns: 1fr;
  }

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

  .update-table-header,
  .update-table-row,
  .summary-table-header,
  .summary-table-row,
  .processed-table-header,
  .processed-table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .col-sport,
  .col-bets,
  .col-matches,
  .col-status,
  .col-last-update {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
  }

  .col-sport::before {
    content: "Sport: ";
    font-weight: 600;
  }
  .col-bets::before {
    content: "Pending Bets: ";
    font-weight: 600;
  }
  .col-matches::before {
    content: "Total Matches: ";
    font-weight: 600;
  }
  .col-status::before {
    content: "Status: ";
    font-weight: 600;
  }
  .col-last-update::before {
    content: "Last Update: ";
    font-weight: 600;
  }

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

  /* Legacy sport-card-actions styles removed */

  /* Sports table mobile responsive styles */
  .sports-table-header {
    display: none !important;
  }

  .sports-table-content .sports-table-header {
    display: none !important;
  }

  .sport-row {
    display: block !important;
    grid-template-columns: none !important;
    padding: 1rem !important;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #334155 !important;
    border: 1px solid #475569;
  }

  .sport-row .col-status,
  .sport-row .col-name,
  .sport-row .col-matches,
  .sport-row .col-odds,
  .sport-row .col-results {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    margin: 0;
  }

  .sport-row .col-status::before {
    content: "Status: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-name::before {
    content: "Sport: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-matches::before {
    content: "Matches: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-odds::before {
    content: "Odds: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .sport-row .col-results::before {
    content: "Results: ";
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }

  .sport-row .col-results {
    border-bottom: none !important;
  }

  .sport-row .col-odds .btn,
  .sport-row .col-results .btn {
    max-width: none !important;
    width: auto !important;
    min-width: 160px;
    font-size: 0.8rem;
    padding: 0.5rem;
    margin: 0;
    white-space: nowrap;
  }

  /* Reset flex properties for button containers on mobile */
  .sport-row .col-odds,
  .sport-row .col-results {
    text-align: center;
  }

  .sport-row .col-odds::before,
  .sport-row .col-results::before {
    display: block;
    text-align: left;
    margin-bottom: 0.25rem;
  }

  .odds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .match-teams {
    flex-direction: column;
    gap: 0.5rem;
  }

  .team.home-team {
    text-align: center;
    color: #0ea5e9; /* Ocean blue for home team */
  }

  .team.away-team {
    text-align: center;
    color: #f59e0b; /* Amber for away team */
  }

  .match-teams-main {
    flex-direction: column;
    gap: 0.5rem;
  }

  .away-team-main,
  .home-team-main {
    font-size: 1.1rem;
  }

  .vs-main {
    align-self: center;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .match-card .outcome-odds .best-odds {
    font-size: 1.1rem;
  }

  .breakdown-table {
    font-size: 0.8rem;
  }

  .bet-card {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .bet-match .teams-main {
    font-size: 1rem;
  }

  .bet-details-compact {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .bet-detail {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .bet-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .timestamp-compact {
    justify-content: space-between;
  }

  .timestamp-label {
    min-width: auto;
  }

  /* Date grouping responsive styles */
  .date-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .date-title {
    font-size: 1.1rem;
  }

  .date-count {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }

  .matches-date-group {
    margin-bottom: 1.5rem;
  }

  /* Modal responsive styles */

  .modal-header-actions {
    flex-direction: row;
    gap: 0.5rem;
  }

  /* Picks Modal Mobile Improvements */
  .picks-modal-content {
    max-width: 95%;
    max-height: 90vh;
    margin: 1rem auto;
  }

  .picks-modal-header {
    padding: 1rem;
  }

  .picks-modal-body {
    padding: 1rem;
  }

  .odds-history-btn .btn-text {
    display: none;
  }

  .modal-odds-grid-ordered {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-vs-separator {
    order: 2;
    align-self: center;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .modal-away-odds {
    order: 1;
  }

  .modal-home-odds {
    order: 3;
  }

  .modal-other-odds {
    order: 4;
    margin-top: 0.5rem;
  }

  .modal-outcome-odds {
    padding: 1rem;
    min-height: 100px;
  }

  .modal-team-name,
  .modal-outcome-name {
    font-size: 1rem;
  }

  .modal-best-odds {
    font-size: 1.2rem;
  }

  .modal-outcome-odds.selected .modal-best-odds {
    font-size: 1.3rem;
  }

  .btn-confirm-pick {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

.status-active {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Match date grouping styles */
.matches-date-group {
  margin-bottom: 2rem;
}

.matches-date-group:last-child {
  margin-bottom: 0;
}

.date-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(20, 184, 166, 0.3);
}

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

.date-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #14b8a6;
  margin: 0;
}

.date-count {
  font-size: 0.9rem;
  color: #94a3b8;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

/* Date Event Info Styles */
.date-event-info {
  margin-top: 0.5rem;
}

.date-event-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #14b8a6;
  margin-bottom: 0.5rem;
}

.date-event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.date-event-venue,
.date-event-location {
  font-size: 0.9rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.date-event-venue i,
.date-event-location i {
  width: 14px;
  color: #14b8a6;
  font-size: 0.8rem;
}

/* Adjust matches grid spacing within date groups */
.matches-date-group .matches-grid {
  gap: 1rem;
}

/* UFC Events Management Styles */
.ufc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(20, 184, 166, 0.3);
}

.ufc-header h2 {
  margin: 0;
  color: #14b8a6;
  font-size: 1.5rem;
  font-weight: 600;
}

.ufc-actions {
  display: flex;
  gap: 0.75rem;
}

.ufc-info-box {
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.1),
    rgba(20, 184, 166, 0.05)
  );
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.ufc-info-box h3 {
  margin: 0 0 1rem 0;
  color: #14b8a6;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ufc-info-box p {
  margin: 0 0 0.75rem 0;
  color: #64748b;
}

.ufc-info-box ul {
  margin: 0;
  padding-left: 1.5rem;
  color: #64748b;
}

.ufc-info-box li {
  margin-bottom: 0.5rem;
}

.ufc-info-box code {
  background: rgba(20, 184, 166, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: #14b8a6;
}

.ufc-events-container {
  position: relative;
}

.ufc-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.ufc-event-card {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border: 1px solid rgba(226, 232, 240, 0.15);
  border-radius: 16px;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.ufc-event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(20, 184, 166, 0.8),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ufc-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25),
    0 10px 10px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
}

.ufc-event-card:hover::before {
  opacity: 1;
}

.ufc-event-card.upcoming {
  border-top: 3px solid #3b82f6;
}

.ufc-event-card.live {
  border-top: 3px solid #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ufc-event-card.live::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 68, 68, 0.8),
    transparent
  );
  opacity: 1;
}

.ufc-event-card.completed {
  border-top: 3px solid #10b981;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.event-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  flex-shrink: 0;
}

.ufc-event-card.upcoming .event-status {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.ufc-event-card.live .event-status {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.ufc-event-card.completed .event-status {
  background: rgba(16, 185, 129, 0.15);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.event-status .text-live {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.event-content {
  padding: 0 1.25rem;
  margin-bottom: 1rem;
}

.event-name {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-details {
  display: flex;
  flex-direction: column;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.detail-row i {
  width: 14px;
  color: #14b8a6;
  flex-shrink: 0;
}

.event-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: rgba(15, 23, 42, 0.3);
  border-top: 1px solid rgba(226, 232, 240, 0.06);
  margin: 1rem 0 0 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0.75rem;
  background: rgba(51, 65, 85, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.08);
}

.stat-label {
  font-size: 0.7rem;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
}

.stat-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.results-status.fetched .stat-value {
  color: #4ade80;
}

.results-status.not-fetched .stat-value {
  color: #facc15;
}

.event-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem 1.125rem 1.25rem;
  background: rgba(15, 23, 42, 0.25);
}

.event-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  min-height: 32px;
  transition: all 0.2s ease;
  text-align: center;
}

.fetch-results-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(50%);
}

.no-events {
  text-align: center;
  padding: 3rem 2rem;
  color: #64748b;
}

.no-events i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.no-events h3 {
  margin: 0 0 0.5rem 0;
  color: #475569;
  font-size: 1.25rem;
}

.no-events p {
  margin: 0;
  font-size: 0.95rem;
}

/* UFC Event Modal Styles */
#add-ufc-event-modal .modal-content {
  max-width: 500px;
}

#add-ufc-event-modal .form-group {
  margin-bottom: 1.5rem;
}

#add-ufc-event-modal .form-group:last-of-type {
  margin-bottom: 2rem;
}

#add-ufc-event-modal label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

#add-ufc-event-modal .form-group label:has(input[type="radio"]) {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 10px;
  font-weight: normal;
  cursor: pointer;
}

#add-ufc-event-modal .form-group input[type="radio"] {
  margin-right: 8px;
}

#add-ufc-event-modal input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

#add-ufc-event-modal input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

#add-ufc-event-modal small {
  display: block;
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.8rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Responsive Design for UFC Events */
@media (max-width: 768px) {
  .ufc-events-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ufc-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .ufc-actions {
    justify-content: center;
  }

  .event-header {
    padding: 1rem 1rem 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .event-status {
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }

  .event-content {
    padding: 0 1rem;
    margin-bottom: 0.875rem;
  }

  .event-name {
    font-size: 1rem;
  }

  .event-details {
    gap: 0.375rem;
  }

  .detail-row {
    font-size: 0.8rem;
  }

  .event-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin: 0.875rem 0 0 0;
  }

  .stat {
    padding: 0.5rem 0.625rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

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

  .event-actions {
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem 1rem 1rem 1rem;
    gap: 0.5rem;
  }

  .event-actions .btn {
    min-height: 36px;
    font-size: 0.7rem;
    padding: 0.4375rem 0.5rem;
  }

  .ufc-info-box {
    padding: 1rem;
  }

  .ufc-info-box h3 {
    font-size: 1rem;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ufc-events-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .event-header {
    padding: 0.875rem 0.875rem 0.25rem 0.875rem;
    gap: 0.625rem;
  }

  .event-status {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }

  .event-content {
    padding: 0 0.875rem;
    margin-bottom: 0.75rem;
  }

  .event-name {
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .detail-row {
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .detail-row i {
    width: 13px;
  }

  .event-stats {
    grid-template-columns: 1fr;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    margin: 0.75rem 0 0 0;
  }

  .stat {
    padding: 0.4375rem 0.5625rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

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

  .event-actions {
    grid-template-columns: 1fr 1fr;
    padding: 0.625rem 0.875rem 0.875rem 0.875rem;
    gap: 0.375rem;
  }

  .event-actions .btn {
    min-height: 34px;
    font-size: 0.65rem;
    padding: 0.375rem 0.5rem;
    gap: 0.1875rem;
  }

  .ufc-info-box ul {
    padding-left: 1rem;
  }
}

.api-link {
  color: #14b8a6;
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  transition: all 0.3s ease;
}

.api-link:hover {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
  color: #0d9488;
}

.ufc-event-card .detail-row {
  margin-bottom: 0.5rem;
}

.ufc-event-card .detail-row:last-child {
  margin-bottom: 0;
}

.ufc-event-card .detail-row a {
  word-break: break-all;
}

/* Improve button spacing in event actions */
.ufc-event-card .event-actions {
  gap: 0.5rem;
}

.ufc-event-card .event-actions .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

/* Better status indicators */
.ufc-event-card.live .event-status .status-text {
  animation: pulse 2s infinite;
}

.text-live {
  color: #ef4444;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Last fetch indicator */
.last-fetch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: #64748b;
}

.last-fetch i {
  color: #14b8a6;
}

/* Improve modal styling for dark theme */
#add-ufc-event-modal .modal-content {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: #e2e8f0;
}

#add-ufc-event-modal .modal-header {
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

#add-ufc-event-modal .modal-header h3 {
  color: #f1f5f9;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 184, 166, 0.1);
}

/* Improve help text styling */
.help-text {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Starting Balance Modal Styles */
.starting-balance-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.starting-balance-modal.show {
  opacity: 1;
  visibility: visible;
}

.starting-balance-modal.closing {
  opacity: 0;
  transform: scale(0.95);
}

.starting-balance-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.starting-balance-content {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 2px solid #14b8a6;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.3);
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.starting-balance-modal.show .starting-balance-content {
  transform: translateY(0);
}

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

.starting-balance-header h2 {
  color: #14b8a6;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.starting-balance-header p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.5;
}

.starting-balance-body {
  text-align: center;
  margin-bottom: 2rem;
}

.welcome-text {
  margin-bottom: 1.5rem;
}

.welcome-text h3 {
  color: #f1f5f9;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.welcome-text p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.balance-preview {
  background: rgba(20, 184, 166, 0.1);
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.balance-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.balance-amount .currency {
  font-size: 2.5rem;
  color: #14b8a6;
  font-weight: 700;
}

.balance-amount .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #14b8a6;
  margin-left: 0.2rem;
  transition: all 0.3s ease;
}

.balance-amount .amount.mystery-amount {
  color: #64748b;
  font-family: monospace;
  letter-spacing: 0.1em;
  animation: mysteryFloat 2.5s ease-in-out infinite;
}

.balance-amount .amount.revealed-amount {
  color: #14b8a6;
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.balance-amount .amount.pulse-animation {
  animation: balancePulse 0.6s ease-in-out 3;
}

@keyframes balancePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes mysteryFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.balance-label {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.starting-balance-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.claim-btn {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.claim-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.claim-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success Animation Styles */
.success-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.success-animation.animate {
  opacity: 1;
  transform: scale(1);
}

.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  top: -10px;
  border-radius: 2px;
  animation: confettiFall 4s linear infinite;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.success-message {
  text-align: center;
  z-index: 10;
}

.success-message h3 {
  color: #14b8a6;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.success-message p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.success-subtitle {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  margin-top: 1rem !important;
}

.click-to-continue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: clickMessageFade 0.5s ease-in-out;
}

.click-to-continue p {
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  opacity: 0.8;
  animation: clickMessagePulse 2s ease-in-out infinite;
}

@keyframes clickMessageFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0px);
  }
}

@keyframes clickMessagePulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.balance-update {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
}

.new-balance {
  font-size: 1.2rem;
  font-weight: 600;
  color: #14b8a6;
  text-shadow: 0 0 10px rgba(20, 184, 166, 0.3);
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.error-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.error-message p {
  color: #fca5a5;
  font-size: 0.9rem;
  margin: 0;
}

/* Weekly Bonus Modal Styles */
.weekly-bonus-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.weekly-bonus-modal.show {
  opacity: 1;
  visibility: visible;
}

.weekly-bonus-modal.closing {
  opacity: 0;
  transform: scale(0.95);
}

.weekly-bonus-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.weekly-bonus-content {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 2px solid #14b8a6;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.3);
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.weekly-bonus-modal.show .weekly-bonus-content {
  transform: translateY(0);
}

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

.weekly-bonus-header h2 {
  color: #14b8a6;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.weekly-bonus-header p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.5;
}

.weekly-bonus-body {
  text-align: center;
  margin-bottom: 2rem;
}

.bonus-amount-display {
  background: rgba(20, 184, 166, 0.1);
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.bonus-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.bonus-amount .currency {
  font-size: 2.5rem;
  color: #14b8a6;
  font-weight: 700;
}

.bonus-amount .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #14b8a6;
  margin-left: 0.2rem;
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
  animation: weeklyBonusPulse 0.6s ease-in-out 3;
}

@keyframes weeklyBonusPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.bonus-label {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.weekly-bonus-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.weekly-bonus-actions .click-to-continue {
  position: static;
  transform: none;
  animation: clickMessageFade 0.5s ease-in-out;
}

.weekly-bonus-actions .click-to-continue p {
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  opacity: 0.8;
  animation: clickMessagePulse 2s ease-in-out infinite;
}

.weekly-bonus-content .confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.weekly-bonus-content .confetti-container.animate .confetti-piece {
  animation: confettiFall 4s linear infinite;
}

/* Responsive Design for Starting Balance Modal */
@media (max-width: 768px) {
  .starting-balance-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .starting-balance-header h2 {
    font-size: 1.5rem;
  }

  .balance-amount .amount {
    font-size: 2rem;
  }

  .balance-amount .amount {
    height: 45px;
  }
}

/* Admin Settings Styles */
.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #475569;
}

.settings-header h2 {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.settings-section {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid #475569;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.settings-section h3 {
  color: #14b8a6;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.settings-description {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.setting-item {
  margin-bottom: 1.5rem;
}

.setting-item label {
  display: block;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.setting-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.setting-input-group input {
  flex: 1;
  max-width: 200px;
}

.setting-help {
  color: #64748b;
  font-size: 0.8rem;
  display: block;
  margin-top: 0.25rem;
}

.settings-table-container {
  margin-top: 1rem;
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.settings-table th,
.settings-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #475569;
}

.settings-table th {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
  font-weight: 600;
  font-size: 0.9rem;
}

.settings-table td {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.settings-table tr:hover {
  background: rgba(30, 41, 59, 0.3);
}

.settings-table tr:last-child td {
  border-bottom: none;
}

.setting-key {
  font-family: monospace;
  color: #fbbf24;
  font-weight: 500;
}

.setting-value {
  font-family: monospace;
  color: #14b8a6;
}

.setting-type {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .settings-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .setting-input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .setting-input-group input {
    max-width: none;
  }

  .settings-table {
    font-size: 0.8rem;
  }

  .settings-table th,
  .settings-table td {
    padding: 0.5rem;
  }
}

/* Initial Loading State */
.initial-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 3rem 2rem;
}

.loading-content {
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.loading-content h2 {
  color: #f1f5f9;
  margin: 1rem 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 600;
}

.loading-content p {
  color: #94a3b8;
  margin: 0;
  font-size: 1rem;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(20, 184, 166, 0.2);
  border-top: 3px solid #14b8a6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@media (max-width: 768px) {
  .initial-loading {
    min-height: 300px;
    padding: 2rem 1rem;
  }

  .loading-content h2 {
    font-size: 1.5rem;
  }

  .loading-content p {
    font-size: 0.9rem;
  }

  .loading-spinner {
    width: 32px;
    height: 32px;
  }
}

/* User Settings Modal Styles */
#user-settings-modal .modal-content {
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.settings-section {
  padding: 1.5rem;
  background: rgba(51, 65, 85, 0.3);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 12px;
}

.settings-section h4 {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.setting-description {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.display-name-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

#char-count {
  color: #6b7280;
}

.availability-status {
  font-weight: 500;
  font-size: 0.85rem;
}

.availability-status.checking {
  color: #3b82f6;
}

.availability-status.available {
  color: #10b981;
}

.availability-status.unavailable {
  color: #ef4444;
}

.availability-status.error {
  color: #f59e0b;
}

.validation-message {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  color: #ef4444;
  font-size: 0.85rem;
}

.current-display-info,
.current-odds-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(20, 184, 166, 0.05);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.current-display-info .label,
.current-odds-info .label {
  color: #94a3b8;
  font-size: 0.9rem;
}

.current-display-value,
.current-value {
  color: #14b8a6;
  font-weight: 500;
}

.setting-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.setting-actions .btn {
  min-width: 120px;
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  background: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-select option {
  background: #334155;
  color: #f1f5f9;
  padding: 0.5rem;
}

.odds-format-example {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  color: #93c5fd;
  font-size: 0.85rem;
  font-style: italic;
}

.settings-close-section {
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.settings-close-section .btn {
  min-width: 150px;
}

/* Make username clickable */
.username {
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.username:hover {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}

/* Responsive adjustments for user settings modal */
@media (max-width: 768px) {
  #user-settings-modal .modal-content {
    max-width: 95%;
    margin: 1rem;
    max-height: 95vh;
  }

  .settings-section {
    padding: 1rem;
  }

  .setting-actions {
    flex-direction: column;
  }

  .setting-actions .btn {
    min-width: auto;
  }

  .display-name-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .settings-close-section .btn {
    min-width: auto;
    width: 100%;
  }
}

/* Picks Modal Improvements */
.picks-modal-content {
  max-height: 95vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.picks-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  flex-shrink: 0;
}

.modal-title-section h3 {
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

.picks-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0; /* Important for flex scrolling */
}

.odds-history-btn .btn-text {
  display: inline;
}

/* Modal odds grid - styled exactly like regular match cards */
.modal-odds-grid-ordered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch; /* Changed from center to stretch for equal height */
  margin: 1rem 0;
}

.modal-odds-grid-ordered .modal-other-odds {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 1rem);
  margin-top: 1rem;
}

.modal-vs-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #14b8a6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  flex-shrink: 0;
  align-self: center; /* Center the VS separator vertically */
}

/* Unselected state - subtle and muted */
.modal-outcome-odds {
  position: relative; /* For the checkmark positioning */
  text-align: center;
  padding: 1.25rem 0.75rem; /* Increased padding for better proportions */
  background: rgba(51, 65, 85, 0.3); /* More subtle background */
  border: 1px solid rgba(100, 116, 139, 0.2); /* Thinner, subtle border */
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px; /* Ensure consistent height */
  opacity: 0.8; /* Slightly muted when unselected */
}

.modal-outcome-odds:hover {
  background: rgba(71, 85, 105, 0.5);
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.modal-outcome-odds:active {
  transform: translateY(0);
}

/* Selected state - prominent and clear */
.modal-outcome-odds.selected {
  background: linear-gradient(
    135deg,
    #14b8a6,
    #0d9488
  ); /* Vibrant gradient background */
  border: 2px solid #5eead4; /* Bright border */
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4),
    0 0 0 3px rgba(94, 234, 212, 0.3); /* Multi-layer glow */
  transform: translateY(-4px) scale(1.02); /* Slight lift and scale */
  opacity: 1;
}

.modal-team-name {
  font-size: 0.95rem;
  color: #e2e8f0; /* Slightly muted for unselected */
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.modal-outcome-name {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.modal-best-odds {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.modal-bookmaker {
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.2;
}

/* Away and Home team colors for modal */
.modal-away-odds .modal-team-name {
  color: #f59e0b; /* Amber for away team */
}

.modal-home-odds .modal-team-name {
  color: #0ea5e9; /* Ocean blue for home team */
}

/* Away and Home team colors for match cards */
.away-odds .team-name {
  color: #f59e0b; /* Amber for away team */
}

.home-odds .team-name {
  color: #0ea5e9; /* Ocean blue for home team */
}

/* Selected state text styling */
.modal-outcome-odds.selected .modal-best-odds {
  color: #ffffff;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-outcome-odds.selected .modal-team-name,
.modal-outcome-odds.selected .modal-outcome-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.modal-outcome-odds.selected .modal-bookmaker {
  color: #f1f5f9;
  font-weight: 600;
}

.modal-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
}

.btn-confirm-pick {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Admin Bet Management Styles */
.bets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.bets-header h2 {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.bets-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.form-select {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #f1f5f9;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.bets-stats-container {
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-card.pending {
  border-color: rgba(251, 191, 36, 0.3);
}

.stat-card.won {
  border-color: rgba(34, 197, 94, 0.3);
}

.stat-card.lost {
  border-color: rgba(239, 68, 68, 0.3);
}

.stat-card.cancelled {
  border-color: rgba(156, 163, 175, 0.3);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Compact Table Layout for Admin Bets */
.admin-bets-table {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.table-header {
  display: grid;
  grid-template-columns: 70px 160px 250px 140px 90px 90px 90px 180px 80px;
  gap: 0.5rem 0.25rem;
  background: #0f172a;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.table-row {
  display: grid;
  grid-template-columns: 70px 160px 250px 140px 90px 90px 90px 180px 80px;
  gap: 0.5rem 0.25rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgb(0 0 0 / 16%);
  transition: background-color 0.2s ease;
  align-items: center;
  min-height: 50px;
}

.table-row:hover {
  background: rgba(20, 184, 166, 0.05);
}

.table-row.pending {
  border-left: 3px solid #fbbf24;
}

.table-row.won {
  border-left: 3px solid #22c55e;
}

.table-row.lost {
  border-left: 3px solid #ef4444;
}

.table-row.cancelled {
  border-left: 3px solid #6b7280;
}

.table-row.name-mismatch {
  background: rgba(251, 191, 36, 0.1);
  border-right: 3px solid #fbbf24;
}

.col-id {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pick-id {
  font-weight: 600;
  color: #14b8a6;
  font-size: 0.85rem;
}

.text-warning {
  color: #fbbf24;
  font-size: 0.7rem;
}

.col-user {
  font-size: 0.85rem;
}

.user-info strong {
  color: #f1f5f9;
  display: block;
}

.user-info small {
  color: #94a3b8;
  font-size: 0.75rem;
}

.col-match {
  font-size: 0.85rem;
  text-align: left;
}

.col-match .match-info {
  text-align: left;
  margin-bottom: 0;
}

.col-match .teams {
  justify-content: flex-start;
  margin-bottom: 0;
}

.match-info .teams {
  color: #f1f5f9;
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.match-info .sport {
  color: #64748b;
  font-size: 0.7rem;
  display: block;
}

.match-info .winner {
  color: #22c55e;
  font-size: 0.7rem;
  display: block;
}

.col-pick {
  font-size: 0.85rem;
  font-weight: 600;
  color: #14b8a6;
}

.col-amount,
.col-odds {
  font-weight: 600;
}

.col-odds {
  text-align: left;
}

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

.status-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.status-badge.pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.status-badge.won {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status-badge.lost {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.status-badge.cancelled {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
}

.col-date {
  font-size: 0.75rem;
}

.date-info small {
  color: #94a3b8;
  display: block;
  line-height: 1.3;
}

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

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #1e293b;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  margin-top: 1rem;
  border-radius: 8px;
}

.pagination-info {
  color: #94a3b8;
  font-size: 0.9rem;
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-btn {
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(20, 184, 166, 0.3);
  background: transparent;
  color: #f1f5f9;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  background: rgba(20, 184, 166, 0.2);
  border-color: #14b8a6;
}

.page-btn.active {
  background: #14b8a6;
  border-color: #14b8a6;
  color: #0f172a;
  font-weight: 600;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: #64748b;
  padding: 0 0.25rem;
}

.prev-page-btn,
.next-page-btn {
  padding: 0.375rem 0.75rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
  .table-header,
  .table-row {
    grid-template-columns: 60px 140px 220px 120px 80px 80px 80px 140px 70px;
    font-size: 0.8rem;
  }

  .col-date {
    font-size: 0.7rem;
  }
}

@media (max-width: 900px) {
  .table-header {
    display: none;
  }

  .admin-bets-table {
    background: transparent;
    border: none;
  }

  .table-row {
    display: block;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 12px;
    background: #1e293b;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .table-row:nth-child(even) {
    background: #1a2332;
    border-color: rgba(20, 184, 166, 0.25);
  }

  .table-row:hover {
    background: rgba(20, 184, 166, 0.05);
  }

  /* Header row: ID and Status */
  .bet-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  }

  .table-row .col-id {
    display: inline-block;
    font-weight: 700;
    color: #14b8a6;
    font-size: 1rem;
  }

  .table-row .col-status {
    display: inline-block;
    text-align: right;
  }

  /* User info section */
  .table-row .user-info {
    margin-bottom: 0.75rem;
  }

  .table-row .user-info::before {
    content: "User: ";
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }

  /* Match section */
  .table-row .col-match {
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  }

  .table-row .col-match::before {
    content: "Match: ";
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }

  .table-row .col-match {
    text-align: left;
  }

  .table-row .col-match .match-info {
    text-align: left !important;
  }

  .table-row .col-match .match-info .teams {
    text-align: left !important;
    display: block;
    width: 100%;
  }

  .table-row .col-match .match-info .sport {
    text-align: left !important;
  }

  .table-row .col-match * {
    text-align: left !important;
  }

  /* Bet details group */
  .bet-details-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
  }

  .table-row .col-pick {
    text-align: left;
  }

  .table-row .col-pick::before {
    content: "Pick";
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }

  .table-row .col-amount::before {
    content: "Amount";
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }

  .table-row .col-odds {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .table-row .col-odds::before {
    content: "Odds";
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }

  /* Timeline section */
  .table-row .col-date {
    margin-bottom: 1rem;
  }

  .table-row .col-date::before {
    content: "Date: ";
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }

  /* Actions section */
  .table-row .col-actions {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(30, 41, 59, 0.3);
    text-align: left;
  }

  /* Reorder elements using CSS Grid */
  .table-row {
    display: grid;
    grid-template-areas:
      "header"
      "user"
      "match"
      "bet-details"
      "dates"
      "actions";
    gap: 0;
  }

  .table-row .col-id {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .table-row .col-status {
    grid-area: header;
    justify-self: end;
    align-self: center;
  }

  .table-row .user-info {
    grid-area: user;
  }

  .table-row .col-match {
    grid-area: match;
  }

  .table-row .col-pick,
  .table-row .col-amount,
  .table-row .col-odds {
    grid-area: bet-details;
  }

  .table-row .col-date {
    grid-area: dates;
  }

  .table-row .col-actions {
    grid-area: actions;
  }

  /* Override grid for bet details to display inline */
  .table-row .col-pick {
    margin-bottom: 0.75rem;
  }

  .table-row .col-amount {
    margin-bottom: 0.75rem;
  }

  .table-row .col-odds {
    margin-bottom: 0.75rem;
  }

  /* Simplified approach - just stack elements vertically in logical order */
  .table-row {
    display: block;
  }

  .table-row > * {
    display: block;
    width: 100%;
  }

  .table-row .col-id {
    order: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  }

  .table-row .col-status {
    order: 1;
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: block;
    margin: 0;
    padding: 0;
  }

  .table-row .user-info {
    order: 2;
    margin-bottom: 0.75rem;
  }

  .table-row .col-match {
    order: 3;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  }

  .table-row .col-pick {
    order: 4;
    margin-bottom: 0.75rem;
  }

  .table-row .col-amount {
    order: 5;
    margin-bottom: 0.75rem;
  }

  .table-row .col-odds {
    order: 6;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  }

  .table-row .col-date {
    order: 7;
    margin-bottom: 0.75rem;
  }

  .table-row .col-actions {
    order: 8;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(30, 41, 59, 0.3);
  }
}

.resettle-bet-modal .modal-content {
  max-width: 600px;
}

.resettle-bet-info {
  background: #0f172a;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.resettle-bet-info h4 {
  color: #f1f5f9;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.bet-summary {
  margin-bottom: 1rem;
}

.bet-summary p {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.warning-notice {
  background: rgba(251, 146, 60, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 6px;
  padding: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.warning-notice i {
  color: #fb923c;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.warning-notice strong {
  color: #fb923c;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  font-weight: 500;
}

.form-group label i {
  color: #14b8a6;
}

.form-input {
  width: 100%;
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #f1f5f9;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.help-text {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(71, 85, 105, 0.3);
}

/* Admin User Management Styles - Dark Theme */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

.admin-table th {
  background: #0f172a;
  font-weight: 600;
  color: #f1f5f9;
}

.admin-table tbody tr:hover {
  background: rgba(20, 184, 166, 0.05);
}

.admin-table.compact th,
.admin-table.compact td {
  padding: 8px;
  font-size: 0.9rem;
}

.users-table-container,
.bets-table-container,
.bonuses-table-container,
.settlements-table-container {
  overflow-x: auto;
}

.admin-badge {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.user-username {
  font-size: 0.85rem;
  color: #94a3b8;
}

.activity-summary {
  font-size: 0.9rem;
  color: #f1f5f9;
}

.activity-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.activity-label {
  color: #94a3b8;
  font-weight: 500;
}

.activity-value {
  font-weight: 600;
  color: #f1f5f9;
}

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

.percentage {
  font-weight: bold;
  font-size: 1.1rem;
  color: #14b8a6;
}

.win-loss-breakdown {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
}

.wins {
  color: #10b981;
}

.losses {
  color: #ef4444;
}

.balance.positive,
.net-profit.positive {
  color: #34d399;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.balance.negative,
.net-profit.negative {
  color: #fca5a5;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.modal-large .modal-content {
  max-width: 95vw;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #1e293b;
}

.user-details-container {
  padding: 1rem;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
}

.user-details-section {
  margin-bottom: 2rem;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(20, 184, 166, 0.02);
}

.user-details-section h4 {
  margin: 0 0 1rem 0;
  color: #14b8a6;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #14b8a6;
}

.user-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

.detail-item label {
  font-weight: 600;
  color: #94a3b8;
}

.detail-item span {
  color: #f1f5f9;
}

.status-change {
  font-family: monospace;
  font-size: 0.9rem;
  color: #f1f5f9;
}

.match-info {
  line-height: 1.3;
  color: #f1f5f9;
}

.sport-info {
  color: #94a3b8;
  font-size: 0.8rem;
}

.users-header,
.users-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.users-header h2 {
  color: #14b8a6;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.users-actions {
  gap: 1rem;
}

.users-stats-container {
  margin-bottom: 2rem;
}

.date {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Responsive design for admin bet management */
@media (max-width: 768px) {
  .bets-header {
    flex-direction: column;
    align-items: stretch;
  }

  .bets-actions {
    justify-content: center;
  }

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

  .bet-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

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

  .bet-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .bet-timestamps {
    justify-content: center;
  }

  .bet-actions {
    justify-content: center;
  }

  .modal-actions {
    flex-direction: column;
  }
}

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

  .bet-details {
    grid-template-columns: 1fr;
  }

  .bet-timestamps {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Sports table extra small mobile styles */
  .sport-row {
    padding: 0.75rem !important;
    margin-bottom: 1rem;
  }

  .sport-row .col-odds .btn,
  .sport-row .col-results .btn {
    min-width: 140px !important;
    width: auto !important;
    font-size: 0.75rem !important;
    padding: 0.4rem 0.6rem !important;
    white-space: nowrap !important;
  }

  .sport-row .col-name .league-short-name {
    font-size: 0.9rem;
  }

  .sport-row .no-scores-badge {
    font-size: 0.7rem;
    padding: 1px 4px;
  }

  /* Legacy 480px sport card styles removed */
}

/* Checkbox styling for name mismatch filter */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
  background: #14b8a6;
  border-color: #14b8a6;
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.scroll-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
}

/* Period Selector Styles */
.period-selector {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
}

.period-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.period-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.period-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  text-align: center;
}

.period-select {
  background: #1e293b;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.period-select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.period-select:hover {
  border-color: #14b8a6;
  background: #334155;
}

.period-select option {
  background: #1e293b;
  color: #e2e8f0;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .period-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .period-select {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .bets-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  .bets-stats {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
  }
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .stat-card {
    min-width: 0;
    padding: 0.35rem 0.35rem;
    font-size: 0.8rem;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 0;
    flex: 0 0 auto;
  }
  .stat-value {
    font-size: 1rem;
    margin-bottom: 0.1rem;
  }
  .stat-label {
    font-size: 0.7rem;
    line-height: 1.1;
  }
}

/* Pick Volume Display */
.pick-volume-container {
  margin: 0.5rem 0;
}

.pick-volume-display {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pick-volume-display.no-volume {
  color: #64748b;
  font-size: 0.75rem;
  text-align: center;
}

.pick-volume-display.error {
  color: #ef4444;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.375rem;
  font-style: italic;
}

.pick-volume-loading {
  color: #94a3b8;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.375rem;
  font-style: italic;
}

.volume-bar {
  display: flex;
  height: 6px;
  background: rgba(51, 65, 85, 0.3);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.volume-segment {
  height: 100%;
  transition: width 0.3s ease;
  position: relative;
}

.volume-segment.away-volume {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 4px 0 0 4px;
}

.volume-segment.home-volume {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
  border-radius: 0 4px 4px 0;
  margin-left: auto;
}

.volume-segment.no-volume-segment {
  background: #475569;
  border-radius: 4px;
}

.volume-segment.no-volume-away {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 4px 0 0 4px;
}

.volume-segment.no-volume-home {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
  border-radius: 0 4px 4px 0;
}

.volume-amounts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.away-amount {
  color: #f59e0b;
}

.home-amount {
  color: #0ea5e9;
}

.pick-volume-display.no-volume .away-amount,
.pick-volume-display.no-volume .home-amount {
  color: #94a3b8;
}

/* Hover effects for better UX */
.pick-volume-display:hover .volume-bar {
  transform: scaleY(1.2);
  transition: transform 0.2s ease;
}

.pick-volume-display:hover .volume-amounts {
  font-weight: 700;
}

@media (max-width: 768px) {
  .pick-volume-display {
    gap: 0.2rem;
  }

  .volume-amounts {
    font-size: 0.65rem;
  }
}
