/* Custom NHL League Styles */
:root {
  --primary-color: #0d47a1;
  --secondary-color: #1976d2;
  --success-color: #388e3c;
  --danger-color: #d32f2f;
  --warning-color: #f57c00;
  --info-color: #0288d1;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gradient: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, rgba(213, 213, 213, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%),
    url('/static/media/background.jpg') center/cover no-repeat fixed;
  min-height: 100vh;
}

.navbar-custom {
  background: var(--gradient) !important;
  box-shadow: var(--shadow);
  border-radius: 0 0 15px 15px;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-logo {
  height: 40px;
  margin-right: 10px;
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn {
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--gradient);
  border: none;
}

.btn-success {
  background: linear-gradient(135deg, #388e3c 0%, #4caf50 100%);
  border: none;
}

.btn-danger {
  background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
  border: none;
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
} */

.table {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table thead th {
  background: var(--gradient);
  color: white;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.table tbody tr:hover {
  background-color: rgba(25, 118, 210, 0.05);
  transform: scale(1.01);
  transition: all 0.2s ease;
}

.badge {
  border-radius: 20px;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e1e5e9;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
  transform: translateY(-2px);
}

.alert {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.standings-position {
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
}

.standings-position.gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
}
.standings-position.silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #9e9e9e 100%);
}
.standings-position.bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #8d6e63 100%);
}

.team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 10px;
  margin-right: 15px;
}

.match-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: translateX(5px);
}

.match-score {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.team-name {
  font-weight: 600;
  color: var(--dark-color);
}

.profile-card {
  background: var(--gradient);
  color: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 3rem;
}

.stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  color: white;
}

.page-header {
  background: var(--gradient);
  color: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
  border-radius: 0 0 30px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  opacity: 0.5;
}

.page-header h1 {
  font-weight: 700;
  font-size: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.floating-action {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  margin-top: 0.5rem;
  overflow: hidden;
}

.dropdown-menu-end {
  --bs-position: end;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  margin: 0.25rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--gradient);
  color: white;
  transform: translateX(5px);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  margin: 0.5rem 1rem;
  border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  .match-score {
    font-size: 1.5rem;
  }
  .standings-position {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}
