/* Bootstrap Icons CDN Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css');

:root { 
  --primary: #e74c3c; 
  --accent: #c0392b; 
  --light-bg: #f8f9fa;
  --text-muted: #6c757d;
  --orange: #ff7a00;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Top info bar */
.top-info-bar {
  background: var(--light-bg);
  border-bottom: 1px solid #dee2e6;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.top-info-bar .season-info {
  color: var(--orange);
  font-weight: 500;
}

/* Main navbar */
.navbar {
  background: white !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 12px 0;
  border-bottom: 3px solid var(--primary);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary) !important;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--accent) !important;
}

.navbar-brand img {
  height: 60px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #495057 !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin: 0 2px;
}

.navbar-nav .nav-link:hover {
  background: rgba(231, 76, 60, 0.1);
  color: var(--primary) !important;
}

.navbar-nav .nav-link.active {
  background: var(--primary);
  color: white !important;
}

.navbar-text {
  background: var(--light-bg);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-muted) !important;
}

.btn-primary { 
  background: var(--primary); 
  border-color: var(--primary);
  border-radius: 6px;
  font-weight: 500;
  padding: 6px 16px;
} 

.btn-primary:hover { 
  background: var(--accent); 
  border-color: var(--accent);
} 

.logout-btn {
  background: none !important;
  border: 1px solid var(--primary) !important;
  color: var(--primary) !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: var(--primary) !important;
  color: white !important;
}

.bg-lightbrand { 
  background: linear-gradient(180deg, #fff7ef, #ffffff); 
}

.sidebar { 
  min-width: 240px; 
  max-width: 260px; 
}

.sidebar .list-group-item.active { 
  background: var(--primary); 
  border-color: var(--primary);
}

.sidebar .list-group-item {
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.sidebar .list-group-item:hover {
  background: var(--light-bg);
  border-color: var(--primary);
}

/* Cards and content areas */
.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.card-header {
  background: var(--light-bg);
  border-bottom: 2px solid var(--primary);
  font-weight: 600;
}

/* Forms */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Tables */
.table th {
  background: var(--light-bg);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: rgba(248, 249, 250, 0.5);
}

/* Alerts */
.alert-success {
  background-color: #d1edff;
  border-color: var(--primary);
  color: #0c5460;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: var(--accent);
  color: #721c24;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #fd7e14;
  color: #856404;
}

/* Badges */
.badge {
  font-weight: 500;
  padding: 0.5em 0.75em;
}

.badge-primary {
  background-color: var(--primary);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-consent.show {
  display: flex;
}

.cookie-consent-modal {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-consent-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.cookie-consent-close:hover {
  color: #333;
}

.cookie-consent h4 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.cookie-consent p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cookie-consent .btn-accept {
  background: var(--orange);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  width: 100%;
}

.cookie-consent .btn-accept:hover {
  background: #e68500;
  transform: translateY(-1px);
}

.cookie-consent .policy-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-consent .policy-links a {
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.cookie-consent .policy-links a:hover {
  text-decoration: underline;
}

/* Policy Modal */
.policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.policy-modal.show {
  display: flex;
}

.policy-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.policy-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.policy-modal-header h4 {
  margin: 0;
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
}

.policy-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.policy-modal-close:hover {
  color: #333;
}

.policy-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.policy-modal-body h3 {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.policy-modal-body h3:first-child {
  margin-top: 0;
}

.policy-modal-body p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

.policy-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.policy-modal-footer .btn-understand {
  background: var(--orange);
  border: none;
  color: white;
  padding: 10px 30px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.policy-modal-footer .btn-understand:hover {
  background: #e68500;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cookie-consent-modal,
  .policy-modal-content {
    margin: 10px;
    max-width: none;
  }
  
  .policy-modal-body {
    max-height: 50vh;
  }
}
.stats-card {
  border: none;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.stats-card .stats-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 1rem;
  border: 2px solid #f0f0f0;
}

.stats-card .stats-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.stats-card .stats-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  line-height: 1;
}

.stats-card .card-body {
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.stats-card .stats-content {
  flex: 1;
}
.announcement-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.announcement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.announcement-card .card-img-top {
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.announcement-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.announcement-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.announcement-card .card-text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.announcement-card .card-footer {
  background: transparent;
  border-top: 1px solid #eee;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 500;
}
@media (max-width: 768px) {
  .top-info-bar {
    text-align: center;
  }
  
  .navbar-brand img {
    height: 45px;
  }
  
  .navbar-text {
    margin-bottom: 10px;
  }
  
  .sidebar {
    min-width: 100%;
    margin-bottom: 1rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-brand img {
    height: 35px;
  }
  
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}