/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Olympic Theme Colors */
:root {
  --olympic-blue: #0085C7;
  --olympic-yellow: #F4C300;
  --olympic-black: #000000;
  --olympic-green: #009F3D;
  --olympic-red: #DF0024;
  --olympic-gold: #FFD700;
  --olympic-silver: #C0C0C0;
  --olympic-bronze: #CD7F32;
  --olympic-light-blue: #00A9E0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Mobile Page Titles */
.mobile-page-title {
  display: none;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin: 1.5rem 0;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .mobile-page-title {
    display: block;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #134E5E 0%, #71B280 100%);
  min-height: 100vh;
}

.olympic-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Olympic Header */
.olympic-header {
  text-align: center;
  padding: 20px;
  background: #FFF8F0;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.olympic-header-clean {
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
}

.olympic-logo {
  max-width: 100%;
  width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  border: 3px solid white;
}

.olympic-rings {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  height: 60px;
}

.ring {
  width: 50px;
  height: 50px;
  border: 5px solid;
  border-radius: 50%;
  position: absolute;
}

.ring.blue {
  border-color: var(--olympic-blue);
  left: -60px;
}

.ring.yellow {
  border-color: var(--olympic-yellow);
  left: -30px;
  top: 25px;
}

.ring.black {
  border-color: var(--olympic-black);
  left: 0;
}

.ring.green {
  border-color: var(--olympic-green);
  left: 30px;
  top: 25px;
}

.ring.red {
  border-color: var(--olympic-red);
  left: 60px;
}

.olympic-title {
  font-size: 3em;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.olympic-tagline {
  font-size: 1.2em;
  color: #666;
  font-style: italic;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #2C5F2D 0%, #97BC62 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-date, .hero-location {
  font-size: 1.3em;
  margin: 10px 0;
}

/* Events Preview */
.events-preview {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.events-preview h2 {
  text-align: center;
  font-size: 2em;
  color: white;
  margin-bottom: 30px;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  margin-bottom: 30px;
}

.event-card {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #355E3B 0%, #71B280 100%);
  color: white;
  transition: transform 0.3s;
  box-shadow: 0 5px 15px rgba(53, 94, 59, 0.3);
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-icon {
  font-size: 3em;
  margin-bottom: 10px;
}

.event-pictogram {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  object-fit: contain;
}

.event-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

/* Countdown Section */
.countdown-section {
  background: linear-gradient(135deg, #F0F4F0 0%, #E8F5E9 100%);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(53, 94, 59, 0.1);
}

.countdown-section h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 30px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-value {
  font-size: 3em;
  font-weight: bold;
  color: #2C5F2D;
}

.time-label {
  font-size: 1em;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Event Card Links */
.event-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.event-card-link:hover .event-card {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Event Detail Page */
.event-detail {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.event-detail-header {
  text-align: center;
  margin-bottom: 30px;
}

.event-detail-pictogram {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.event-detail h1 {
  font-size: 2.5em;
  color: #2C5F2D;
  margin-bottom: 20px;
}

.event-detail-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.event-brief {
  font-size: 1.4em;
  color: #666;
  margin-bottom: 20px;
  font-weight: 500;
}

.event-description {
  font-size: 1.2em;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.event-actions {
  text-align: center;
  margin-top: 40px;
}

.btn-back {
  display: inline-block;
  padding: 12px 30px;
  background: #2C5F2D;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  transition: background 0.3s ease;
}

.btn-back:hover {
  background: #1e4220;
}

/* Navigation Bar */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  margin-bottom: 20px;
}

.navbar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  gap: 30px;
}

.navbar-link {
  color: #333;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-link:hover {
  color: #2C5F2D;
  background: #f0f8f0;
}

.navbar-link.active {
  color: white;
  background: #2C5F2D;
}

.navbar-link.active:hover {
  background: #1e4220;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-section h1 {
  font-size: 3em;
  color: #2C5F2D;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5em;
  color: #666;
  margin-bottom: 10px;
}

.hero-date {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary {
  background: #2C5F2D;
  color: white;
}

.btn-primary:hover {
  background: #1e4220;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

.btn-secondary {
  background: white;
  color: #2C5F2D;
  border: 2px solid #2C5F2D;
}

.btn-secondary:hover {
  background: #2C5F2D;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

/* Schedule Page */
.schedule-page-title {
  text-align: center;
  font-size: 2.5em;
  color: white;
  margin: 30px 0;
  font-weight: bold;
}

.schedule-section {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.schedule-subtitle {
  text-align: center;
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
}

.schedule-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-day h2 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #2C5F2D;
}

.schedule-events {
  margin-left: 20px;
}

.schedule-item {
  display: flex;
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  border-left: 4px solid #2C5F2D;
}

.schedule-time {
  min-width: 100px;
  font-weight: bold;
  color: #2C5F2D;
  font-size: 1.1em;
}

.schedule-event {
  margin-left: 30px;
  flex: 1;
}

.schedule-event h3 {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 10px;
}

.schedule-event p {
  color: #666;
  font-size: 1.1em;
}

.schedule-event ul {
  list-style: none;
  padding: 0;
}

.schedule-event ul li {
  padding: 5px 0;
  color: #666;
  font-size: 1.1em;
}

.schedule-event ul li:before {
  content: "• ";
  color: #2C5F2D;
  font-weight: bold;
  margin-right: 10px;
}

.schedule-actions {
  text-align: center;
  margin-top: 40px;
}

.schedule-event-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
}

.schedule-pictogram-link {
  display: inline-block;
  text-decoration: none;
}

.schedule-pictogram {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  padding: 5px;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.schedule-pictogram:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.schedule-pictogram-large {
  width: 80px;
  height: 80px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .olympic-container {
    padding: 10px;
  }

  .olympic-logo {
    width: 300px;
  }

  .navbar {
    margin-bottom: 15px;
  }

  .navbar-content {
    padding: 12px 10px;
    gap: 10px;
  }

  .navbar-link {
    font-size: 1em;
    padding: 6px 12px;
  }

  .hero-section {
    padding: 40px 15px;
  }

  .hero-section h1 {
    font-size: 2em;
  }

  .hero-subtitle {
    font-size: 1.2em;
  }

  .hero-date {
    font-size: 1.1em;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .schedule-page-title {
    font-size: 1.8em;
    margin: 20px 0;
  }

  .schedule-section {
    padding: 20px;
  }

  .schedule-item {
    flex-direction: column;
    padding: 15px;
  }

  .schedule-time {
    margin-bottom: 10px;
    font-size: 1em;
  }

  .schedule-event {
    margin-left: 0;
  }

  .schedule-event h3 {
    font-size: 1.2em;
  }

  .schedule-event-icons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .schedule-pictogram {
    width: 50px;
    height: 50px;
  }

  .schedule-pictogram-large {
    width: 60px;
    height: 60px;
  }

  .schedule-events {
    margin-left: 0;
  }

  .nav-link {
    padding: 8px 20px;
    font-size: 1em;
  }

  .btn-back {
    padding: 10px 25px;
    font-size: 1em;
  }
}

/* Info Section */
.info-section {
  background: linear-gradient(135deg, #E8F5E9 0%, #F0F4F0 100%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(113, 178, 128, 0.15);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.info-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.info-card-link:hover .info-card {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card {
  text-align: center;
  padding: 20px;
  border-left: 4px solid #355E3B;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.info-card h3 {
  font-size: 1.5em;
  color: #2C5F2D;
  margin-bottom: 10px;
}

.info-card p {
  color: #666;
}

.events-card {
  min-height: auto;
}

.event-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(35px, auto);
  gap: 8px;
  margin-top: 10px;
  justify-items: center;
  align-items: center;
}

.mini-event-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.mini-event-icon:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .olympic-title {
    font-size: 2em;
  }

  .hero-content h2 {
    font-size: 1.8em;
  }

  .time-value {
    font-size: 2em;
  }
}

/* Delegations Section */
.delegations-section {
  padding: 0 0 40px 0;
}

.delegations-section h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.delegation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.delegation-card {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.delegation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.delegation-image-wrapper {
  display: inline-block;
  margin-bottom: 15px;
}

.delegation-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Mother Nature special green and yellow striped border */
.mother-nature-border {
  background: repeating-linear-gradient(
    45deg,
    #2E7D32,
    #2E7D32 10px,
    #F4C300 10px,
    #F4C300 20px
  );
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgba(0, 159, 61, 0.4);
  animation: borderGlow 2s ease-in-out infinite alternate;
}

.mother-nature-border .delegation-image {
  border: 3px solid #F4C300;
}

@keyframes borderGlow {
  from {
    box-shadow: 0 5px 15px rgba(0, 159, 61, 0.4);
  }
  to {
    box-shadow: 0 8px 25px rgba(244, 195, 0, 0.6);
  }
}

/* Heat Miser special red and yellow striped border */
.heat-miser-border {
  background: repeating-linear-gradient(
    45deg,
    #DC143C,
    #DC143C 10px,
    #FFD700 10px,
    #FFD700 20px
  );
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
  animation: heatBorderGlow 2s ease-in-out infinite alternate;
}

.heat-miser-border .delegation-image {
  border: 3px solid #FFD700;
}

@keyframes heatBorderGlow {
  from {
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
  }
  to {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
  }
}

/* Snow Miser special blue and white striped border */
.snow-miser-border {
  background: repeating-linear-gradient(
    45deg,
    #002F6C,
    #002F6C 10px,
    #FFFFFF 10px,
    #FFFFFF 20px
  );
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgba(0, 47, 108, 0.4);
  animation: snowBorderGlow 2s ease-in-out infinite alternate;
}

.snow-miser-border .delegation-image {
  border: 3px solid #002F6C;
}

@keyframes snowBorderGlow {
  from {
    box-shadow: 0 5px 15px rgba(0, 47, 108, 0.4);
  }
  to {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.8);
  }
}

/* Bumble special white, light blue, and red striped border */
.bumble-border {
  background: repeating-linear-gradient(
    45deg,
    #FFFFFF,
    #FFFFFF 7px,
    #87CEEB 7px,
    #87CEEB 14px,
    #DC143C 14px,
    #DC143C 21px
  );
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
  animation: bumbleBorderGlow 2s ease-in-out infinite alternate;
}

.bumble-border .delegation-image {
  border: 3px solid #87CEEB;
}

@keyframes bumbleBorderGlow {
  from {
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
  }
  to {
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
  }
}

.delegation-card h3 {
  font-size: 1.5em;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.no-delegations {
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.no-delegations p {
  font-size: 1.3em;
  opacity: 0.9;
}

.delegation-card-link {
  text-decoration: none;
  color: inherit;
}

.delegation-card-link:hover .delegation-card {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

/* Delegation Detail Page */
.delegation-detail {
  padding: 40px 0;
  text-align: center;
}

.delegation-detail h1 {
  font-size: 3em;
  margin-bottom: 15px;
  color: white;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.athlete-count {
  font-size: 1.5em;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.athlete-count strong {
  font-size: 1.3em;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.delegation-flag-container {
  margin: 30px auto;
  max-width: 700px;
  display: block;
  animation: wave 3s ease-in-out infinite;
}

.delegation-flag {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0) rotateY(0);
  }
  25% {
    transform: translateX(-5px) rotateY(-2deg);
  }
  75% {
    transform: translateX(5px) rotateY(2deg);
  }
}

.delegation-gif-container {
  margin: 20px auto;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

/* Mother Nature special styling for delegation detail page */
.delegation-gif-container.mother-nature-border {
  background: repeating-linear-gradient(
    45deg,
    #2E7D32,
    #2E7D32 10px,
    #F4C300 10px,
    #F4C300 20px
  );
  padding: 12px;
  animation: borderGlow 2s ease-in-out infinite alternate;
}

.delegation-gif-container.mother-nature-border .delegation-gif {
  border: 4px solid #F4C300;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
}

/* Heat Miser special styling for delegation detail page */
.delegation-gif-container.heat-miser-border {
  background: repeating-linear-gradient(
    45deg,
    #DC143C,
    #DC143C 10px,
    #FFD700 10px,
    #FFD700 20px
  );
  padding: 12px;
  animation: heatBorderGlow 2s ease-in-out infinite alternate;
}

.delegation-gif-container.heat-miser-border .delegation-gif {
  border: 4px solid #FFD700;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
}

/* Snow Miser special styling for delegation detail page */
.delegation-gif-container.snow-miser-border {
  background: repeating-linear-gradient(
    45deg,
    #002F6C,
    #002F6C 10px,
    #FFFFFF 10px,
    #FFFFFF 20px
  );
  padding: 12px;
  animation: snowBorderGlow 2s ease-in-out infinite alternate;
}

.delegation-gif-container.snow-miser-border .delegation-gif {
  border: 4px solid #002F6C;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
}

/* Bumble special styling for delegation detail page */
.delegation-gif-container.bumble-border {
  background: repeating-linear-gradient(
    45deg,
    #FFFFFF,
    #FFFFFF 7px,
    #87CEEB 7px,
    #87CEEB 14px,
    #DC143C 14px,
    #DC143C 21px
  );
  padding: 12px;
  animation: bumbleBorderGlow 2s ease-in-out infinite alternate;
}

.delegation-gif-container.bumble-border .delegation-gif {
  border: 4px solid #87CEEB;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
}

.delegation-gif {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.delegation-actions {
  margin-top: 40px;
}

.btn-back {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--olympic-blue) 0%, #71B280 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1.1em;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 133, 199, 0.3);
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 133, 199, 0.4);
  background: linear-gradient(135deg, #71B280 0%, var(--olympic-blue) 100%);
}

/* Delegation Athletes Section */
.delegation-athletes {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.delegation-athletes h2 {
  color: #2C5F2D;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.athletes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.athlete-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.athlete-item:hover {
  background: #f0f8f0;
  border-color: #2C5F2D;
  transform: translateX(5px);
}

.athlete-name {
  font-size: 1.1em;
  font-weight: 500;
}

.athlete-arrow {
  color: #2C5F2D;
  font-size: 1.2em;
}

.no-athletes {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  max-width: 600px;
  margin: 40px auto;
}

.no-athletes p {
  color: #666;
  font-size: 1.1em;
}

/* Admin Panel Styles */
.admin-body {
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  min-height: 100vh;
}

.admin-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-navbar {
  background: #2c3e50;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.admin-title {
  margin: 0;
  font-size: 1.5em;
  flex: 1;
  text-align: center;
}

.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.admin-navbar-actions {
  display: flex;
  gap: 15px;
}

.admin-dropdown-menu {
  background: #34495e;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.admin-dropdown-menu.active {
  max-height: 500px;
}

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

.admin-nav li {
  margin: 0;
}

.admin-dropdown-menu .admin-nav-link {
  color: #ecf0f1;
  text-decoration: none;
  display: block;
  padding: 15px 20px;
  transition: background-color 0.3s;
  border-bottom: 1px solid #2c3e50;
}

.admin-dropdown-menu .admin-nav-link:hover {
  background: #2c3e50;
}

.admin-dropdown-menu .admin-nav-link.active {
  background: #3498db;
}

.admin-navbar-actions .admin-nav-link {
  color: #ecf0f1;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.admin-navbar-actions .admin-nav-link:hover {
  background: #34495e;
}

.admin-main {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.admin-notice {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.admin-alert {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-header h1 {
  margin: 0;
  color: #2c3e50;
  font-size: 2em;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.stat-card h3 {
  margin: 0 0 15px 0;
  color: #7f8c8d;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  color: #2c3e50;
  margin: 0 0 15px 0;
}

.stat-link {
  color: #3498db;
  text-decoration: none;
  font-size: 0.95em;
}

.stat-link:hover {
  text-decoration: underline;
}

.admin-section {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.admin-section h2 {
  margin: 0 0 20px 0;
  color: #2c3e50;
  font-size: 1.5em;
}

.quick-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-admin {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  transition: opacity 0.3s;
}

.btn-admin:hover {
  opacity: 0.9;
}

.btn-admin.btn-primary {
  background: #3498db;
  color: white;
}

.btn-admin.btn-secondary {
  background: #95a5a6;
  color: white;
}

.btn-admin.btn-danger {
  background: #e74c3c;
  color: white;
}

.btn-admin.btn-sm {
  padding: 5px 12px;
  font-size: 0.9em;
}

.admin-table-container {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow-x: auto;
}

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

.admin-table th {
  background: #f8f9fa;
  color: #2c3e50;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #dee2e6;
  color: #495057;
}

.admin-table tbody tr:hover {
  background: #f8f9fa;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.admin-empty-state {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}

.admin-form-container {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #495057;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 1em;
}

.form-control:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 0.2rem rgba(52,152,219,0.25);
}

.radio-button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
  border: 1px solid #dee2e6;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: white;
  border-radius: 5px;
  border: 1px solid #ced4da;
  transition: all 0.2s;
}

.radio-option:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.radio-option input[type="radio"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.radio-option .radio-label {
  margin: 0;
  cursor: pointer;
  font-weight: normal;
  flex: 1;
}

.radio-option input[type="radio"]:checked + .radio-label {
  font-weight: 600;
  color: #0085C7;
}

.delegation-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.delegation-icon {
  width: 30px;
  height: 20px;
  object-fit: contain;
  border: 1px solid #dee2e6;
  border-radius: 3px;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875em;
}

.text-muted {
  color: #6c757d;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.admin-error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

.admin-error h3 {
  margin: 0 0 10px 0;
  font-size: 1.1em;
}

.admin-error ul {
  margin: 0;
  padding-left: 20px;
}

/* Custom Confirmation Modal */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.modal-dialog {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-content {
  padding: 0;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #dee2e6;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px 10px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.4em;
}

.modal-body {
  padding: 30px 20px;
}

.modal-body p {
  margin: 0;
  font-size: 1.1em;
  color: #333;
  line-height: 1.5;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8f9fa;
  border-radius: 0 0 10px 10px;
}

@media (max-width: 768px) {
  .admin-main {
    padding: 20px;
  }
  
  .admin-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .admin-stats {
    grid-template-columns: 1fr;
  }
  
  .admin-navbar-actions {
    display: none;
  }
  
  .admin-title {
    font-size: 1.2em;
  }
}
