/* Header */
.site-header {
  background-color: #f7f9f5;
  border-bottom: 3px solid #00aa1a;
  padding: 12px 0;
  font-family: 'Segoe UI', sans-serif;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo | menu | botones */
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo img {
  max-height: 42px;
}

/* MENÚ CENTRAL */
.main-nav {
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #14743f;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}

.nav-menu li a:hover {
  color: #00b37e;
}

/* BOTONES SUPERIORES */
.header-buttons {
  display: flex;
  justify-content: flex-end; /* Alinea los botones a la derecha */
  align-items: center;
  gap: 10px;
}

.header-buttons .btn-icon {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.btn-icon:hover {
  background-color: #00a651; /* Fondo se vuelve verde */
  color: #ffffff;            /* Texto se vuelve blanco */
}

.btn-login {
  background-color: #ffffff; /* Fondo blanco */
  color: #00a651;            /* Texto verde */
  border: 2px solid #00a651; /* Borde verde */
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn-login:hover {
  background-color: #00a651; /* Fondo se vuelve verde */
  color: #ffffff;            /* Texto se vuelve blanco */
}

/* --------------------------------------- */
/* Ajustes del layout y las columnas (sidebar) */
.main-layout {
  display: grid;
  grid-template-columns: 220px 1fr 250px;
  gap: 20px;
  padding: 20px;
}

/* Estilos para las columnas */
.sidebar-left, .sidebar-right {
  background: #114d29;
  color: rgb(237, 242, 236);
  padding: 20px;
  border-radius: 8px;
}

.sidebar-left ul, .sidebar-right ul {
  list-style: none;
  padding-left: 0;
}

.sidebar-left li, .sidebar-right li {
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-content {
  background: #c0f1bb;
  padding: 20px;
  border-radius: 8px;
}

.popular-leagues {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.popular-leagues li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: white;
  font-weight: 500;
}

.popular-leagues img {
  vertical-align: middle;
}

/* Sticky header que se pega al hacer scroll */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: white;
}

/* Botón de idioma */
.btn-lang {
  background-color: #ffffff;
  border: 2px solid #00a651;
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
  margin-right: 10px;
}

.btn-lang:hover {
  background-color: #00a651;
}

.flag-icon {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ------------------------ */
/* Slider Básico */
.promo-slider, .match-slider {
  position: relative;
  background: #5a585855;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.match-slider {
  background: #114d29;
  color: #edf2ec;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  display: block;
  opacity: 1;
}

.promo-content, .match-info {
  max-width: 500px;
}

.promo-tag {
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  padding: 5px 10px;
  display: inline-block;
  margin-bottom: 10px;
}

.promo-btn {
  background: #00b56c;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-nav button {
  background: #555;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  pointer-events: auto;
  cursor: pointer;

/* ------------------------- */
/* Ajustes específicos para el match-slider */
.sidebar-right .match-slider {
  position: relative;
  margin-bottom: 30px; /* Separación con Bookmakers */
  padding: 20px;
  background: #ffffff;
  color: #002244;
  border-radius: 8px;
}

.sidebar-right .match-slider .slider-container {
  width: 100%;
  overflow: hidden;
}

.sidebar-right .match-slider .odds-card {
  max-width: 100%;
}

.sidebar-right .match-slider .slider-nav {
  top: 50%;
  left: 8px;
  right: 8px;
  transform: translateY(-50%);
  pointer-events: none;
}

.sidebar-right .match-slider .slider-nav button {
  padding: 6px;
  font-size: 16px;
}

/* ---------------------- */
/* Separación y ajuste de Bookmakers */
.sidebar-right .bookmaker-offers {
  margin-top: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
}

.sidebar-right {
  margin-top: 30px;
  padding: 20px;
  background-color: #fff;
}

/* Ajustes visuales adicionales */
.sidebar-right .match-slider h4 {
  color: #002244;
  text-align: center;
  margin-bottom: 12px;
}

.sidebar-right .match-slider .league {
  display: block;
  text-align: center;
  color: #666666;
  margin-bottom: 16px;
  font-style: italic;
}

.sidebar-right .match-slider .odds-card {
  background: #f3f7f5;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  max-width: 140px;
  margin: 0 auto;
}

.sidebar-right .match-slider .odds-card img {
  max-height: 24px;
  margin-left: 8px;
  vertical-align: middle;
}

.sidebar-right .match-slider .slider-nav button {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 18px;
}
/* ==========================================
   Estilos de navegación tipo pestañas (Team Profile)
   ========================================== */
.team-nav {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.team-tab {
  display: inline-block;
  margin: 0 10px;
  font-weight: 700; /* Bien marcado */
  color: #14743f; /* Verde a juego con tu tema */
  text-decoration: none;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}

.team-tab:hover,
.team-tab.active {
  color: #ffffff;
  background-color: #14743f; /* Verde oscuro de tu tema */
}

/* =============================== */
/* Estilos personalizados para página de Cuotas */
/* =============================== */

.odds-widget {
  background: #f4fbf2;
  border: 1px solid #c0e9ba;
  border-radius: 8px;
  padding: 20px;
  margin-top: 40px;
}

.odds-header h2 {
  color: #006400;
  font-size: 22px;
  margin-bottom: 15px;
}

.odds-filters {
  margin-bottom: 20px;
  text-align: center;
}

.filter-btn {
  background: #ffffff;
  border: 2px solid #00a651;
  color: #00a651;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 0 5px;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #00a651;
  color: white;
}

.league-group {
  margin-bottom: 30px;
}

.league-header {
  background: #006400;
  color: white;
  padding: 8px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  border-radius: 6px 6px 0 0;
}

.matches-list {
  background: #eaf9e4;
  border: 1px solid #c0e9ba;
  border-top: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.match-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #c0e9ba;
}

.match-name {
  font-weight: bold;
  color: #006400;
}

.match-info {
  color: #444;
  font-size: 14px;
}

.match-link {
  color: #00a651;
  text-decoration: underline;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .main-layout {
    display: block;
    padding: 10px;
  }

  .sidebar-left,
  .sidebar-right,
  .main-content,
  .center-column {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
  }

  .header-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .main-nav {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }

  .header-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .promo-slider,
  .match-slider {
    padding: 15px;
  }

  .slider-nav {
    top: auto;
    bottom: -10px;
    transform: none;
    justify-content: center;
  }

  .slider-nav button {
    margin: 0 5px;
  }
