:root {
    --bg-main: #333333;
    --bg-sidebar: #333333;
    --bg-header: #126e51;
    --bg-card: #383838;
    --bg-input: #444444;
    --bg-header-dark: #282828;
    --text-primary: #ffffff;
    --text-muted: #a0a0a0;
    --text-teal: #00ffb2;
    --text-yellow: #ffdf00;
    --border-dark: #4d4d4d;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header */
.header {
    background: #126e51;
    height: 60px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.text-yellow { color: var(--text-yellow) !important; }
.text-teal { color: var(--text-teal) !important; }
.bg-card { background-color: var(--bg-card); }
.bg-input { background-color: var(--bg-input) !important; color: white !important;}
.bg-input::placeholder { color: #888; }

.btn-yellow {
    background-color: var(--text-yellow);
    color: #000;
}
.btn-yellow:hover { background-color: #e6c800; color: #000; }
.btn-outline-yellow {
    border: 1px solid var(--text-yellow);
    color: var(--text-yellow);
    background: transparent;
}
.btn-outline-yellow:hover {
    background-color: var(--text-yellow);
    color: #000;
}
.btn-header-subtle {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.2s;
}
.btn-header-subtle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.main-nav .nav-link {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    padding: 0 5px;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active {
    color: var(--text-teal);
    border-bottom: 3px solid var(--text-teal);
}

/* Layout */
.app-container {
    display: flex;
    height: calc(100vh - 60px);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: var(--bg-sidebar);
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid var(--border-dark);
}
.sidebar-nav .nav-link {
    color: var(--text-primary);
    font-size: 0.85rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.sidebar-nav .nav-link i {
    width: 20px;
    text-align: center;
    color: #a0a0a0;
}
.sidebar-nav .nav-link:hover {
    color: var(--text-teal);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0 30px;
    overflow-y: auto;
}

/* Search */
.search-container {
    max-width: 1000px;
}
.search-input-wrapper input {
    height: 40px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Horizontal Sports Nav */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #282828;
    min-width: 80px;
    height: 70px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 8px;
    box-sizing: border-box;
    text-decoration: none;
    flex-shrink: 0;
}
.category-card:hover {
    background-color: #383838;
}
.icon-container {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.category-name {
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}

/* Promo Cards */
.promo-card { min-height: 160px; border: 1px solid #4d4d4d; padding: 20px !important; }
.promo-card::after {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    border-radius: inherit;
}
.bg-promo-1 { border-color: #126e51; }
.bg-promo-1::after { background-image: url('img/OAO_680x400_Banner_Rebrand_ROW.jpg');}
.bg-promo-2::after { background-image: url('img/Tax_0Percent_680x320_ger.webp');}
.bg-promo-3::after { background-image: url('img/SubOnPlayOn_680x320_Carousel_ger.webp');}

/* Comp Nav */
.comp-nav .nav-link {
    white-space: nowrap;
}
.comp-nav .nav-link:hover:not(.active) {
    color: var(--text-teal) !important;
}
.custom-more-btn {
    background-color: transparent;
    border-color: #555 !important;
}
.custom-more-btn:hover { background-color: #444; }

/* Market Cards */
.market-card {
    border: 1px solid var(--border-dark);
}
.border-top-red { border-top: 3px solid #dc3545 !important; }
.border-top-green { border-top: 3px solid #198754 !important; }
.border-top-blue { border-top: 3px solid #0d6efd !important; }

/* Match List */
.bg-header-dark {
    background-color: var(--bg-header-dark);
}
.match-list {
    border: 1px solid var(--border-dark);
}
.match-row:hover { background-color: #404040; }
.odds-cell {
    background-color: transparent;
    transition: background 0.2s;
    padding: 15px 0;
}
.odds-cell:hover { background-color: #4a4a4a;
    cursor: pointer;
}
.cursor-pointer { cursor: pointer; }

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: var(--bg-sidebar); }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #555; border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #777; }

/* Override Bootstrap text-muted for dark theme visibility */
.text-muted {
    color: #a0a0a0 !important;
}

/* Footer Styles */
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffffff;
}
.footer-text {
    color: #a0a0a0;
}
.footer-text p {
    margin-bottom: 1rem;
    color: #a0a0a0;
}
.footer-text a {
    color: #ffffff;
}
.footer-text a:hover {
    text-decoration: underline !important;
}
.sidebar-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}




.player-card:hover, .quick-picks-list + div:hover {
    background-color: #3a3a3a !important;
}
.odds-box {
    min-width: 60px;
    text-align: center;
}

.market-outright-card:hover, .top-match-card:hover {
    background-color: #2a2a2a !important;
}

.hover-text-yellow:hover { color: var(--text-yellow) !important; }



.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

/* team badge / market icon */
.uefa img{
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* "Mehr" pill button top-right */
.custom-more-btn{
  border-color: #4a4a4a !important;
  transition: border-color .15s ease, background .15s ease;
}
.custom-more-btn:hover{
  border-color: #6a6a6a;
  background: rgba(255,255,255,0.04);
}

/* hide horizontal scrollbar on the carousel row */
.hide-scrollbar::-webkit-scrollbar{ display:none; }
.hide-scrollbar{ -ms-overflow-style:none; scrollbar-width:none; }

/* yellow flame/odds-boost counter */
.text-yellow{ color: var(--yellow) !important; }

.cursor-pointer{ cursor: pointer; }

.top-match-card{
  transition: border-color .15s ease;
}

/* right-edge chevron button for scrolling the carousel */
.nav-chevron{
  transition: background .15s ease;
}
.nav-chevron:hover{
  background: rgba(0,0,0,0.75) !important;
}

@media (max-width: 900px){
  .nav-chevron{ display: none !important; }
}

/* ===== Fixtures / Odds list ===== */

.match-list{
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.match-list-header{
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #f5f5f5;
  border-bottom: 1px solid #333;
}

.odds-head-group{
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(3, 70px);
  text-align: center;
}

.odds-head{
  font-size: 12px;
  font-weight: 700;
  color: #f5f5f5;
}

.match-row{
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #2a2a2a;
}

.match-row-last{
  border-bottom: none;
}

.match-row:hover{
  background: rgba(255,255,255,0.02);
}

.teams-col{
  flex: 1;
  min-width: 0;
}

.team-line{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.team-badge{
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-name{
  font-size: 13px;
  color: #f0f0f0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.kickoff{
  font-size: 11px;
  color: var(--text-muted, #8a8a8a);
}

.live-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--accent);
  color: #101010;
  font-size: 9px;
}

.odds-col{
  width: 70px;
  text-align: center;
  flex-shrink: 0;
}

.odds-num{
  font-size: 14px;
  font-weight: 700;
  color: #f2b431;
}

/* ===== Wetten-Konfigurator / Quick Picks ===== */

.quick-picks{
  margin-top: 18px;
  background: #101010;
  border-radius: 8px;
}

.qp-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 12px;
}

.qp-title{
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.qp-title-accent{
  color: var(--accent);
}

.qp-quick-select{
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.qp-pill{
  display: inline-block;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.qp-list{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qp-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #202020;
  border-radius: 6px;
  padding: 10px 14px;
}

.qp-player{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.jersey-badge{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.qp-player-info{
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.qp-player-name{
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qp-player-match{
  font-size: 11px;
  color: var(--accent);
}

.qp-player-stats{
  display: flex;
  align-items: center;
  gap: 6px;
}

.qp-stats-label{
  font-size: 11px;
  color: var(--text-muted, #8a8a8a);
}

.qp-stat-pill{
  font-size: 10px;
  font-weight: 700;
  color: #d5d5d5;
  background: #333;
  border-radius: 3px;
  padding: 1px 6px;
}

.qp-odds{
  font-size: 14px;
  font-weight: 800;
  color: #f2b431;
  flex-shrink: 0;
  padding-left: 12px;
}

.qp-more{
  text-align: center;
  background: #202020;
  border-radius: 6px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===== Gesamtsieger / Outright Winner ===== */

.outright-card{
  margin-top: 18px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
}

.outright-header{
  margin-bottom: 10px;
}

.outright-title{
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.outright-subtitle{
  font-size: 11px;
  color: var(--text-muted, #8a8a8a);
  margin-top: 2px;
}

.outright-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 12px;
  border-top: 1px solid #2e2e2e;
  padding-top: 12px;
}

.outright-item{
  display: flex;
  align-items: center;
  gap: 10px;
}

.outright-badge{
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.outright-name{
  font-size: 13px;
  color: #f0f0f0;
  flex: 1;
}

.outright-odds{
  font-size: 13px;
  font-weight: 700;
  color: #f2b431;
}

.outright-more{
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}



/* Target Design Tweaks */
.promo-item {
    scroll-snap-align: start;
}
.promo-card {
    min-height: 125px !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
}
.promo-card h3 {
    font-size: 22px !important;
}
.promo-card button {
    border-radius: 4px !important;
    font-size: 13px !important;
}
.promo-carousel-row {
    padding-bottom: 5px;
}
.comp-nav {
    gap: 1.5rem !important;
}
.comp-nav .nav-link {
    font-size: 14px !important;
    padding: 4px 12px !important;
    white-space: nowrap;
}
.comp-nav .nav-link.active {
    background-color: #fff !important;
    color: #000 !important;
    border-radius: 50rem !important;
    font-weight: 700 !important;
}


.top-match-card {
    background-color: #202020 !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    font-size: 11px;
}
.top-match-card h6 {
    font-size: 13px !important;
    margin-bottom: 10px !important;
}
.uefa {
    gap: 8px !important;
    margin-bottom: 6px !important;
}
.uefa img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}
.uefa span {
    font-size: 11px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: calc(100% - 24px);
}
.carousel-row {
    margin-left: 0;
    margin-right: 0;
}
.bottom-bet {
    background-color: #111;
    border-radius: 4px;
    padding: 8px;
    margin-top: 8px;
}
.toggle-selections {
    margin-top: 8px;
    margin-bottom: 12px;
}


/* Configurator Tweaks */
.bet-builder-section {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
}
.quick-picks-list {
    gap: 2px !important;
}
.player-card {
    background-color: #222 !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    height: 48px;
}
.player-card:hover {
    background-color: #2a2a2a !important;
}
.player-card img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.player-card .position-absolute {
    font-size: 10px !important;
}
.player-card .odds-box {
    width: 60px;
    text-align: center;
    background-color: #2a2a2a !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
    border-radius: 4px !important;
}
.player-card .d-flex.flex-column span:first-child {
    font-size: 13px !important;
}
.player-card .d-flex.flex-column span:last-child {
    font-size: 10px !important;
    color: #888 !important;
}
.configurator-more-btn {
    background-color: #222 !important;
    border-radius: 4px !important;
    padding: 10px !important;
}
.configurator-more-btn:hover {
    background-color: #2a2a2a !important;
}

.top{
    height: 20px;
    width: 20px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    flex-shrink: 0;
}



.match-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.kickoff{
  font-size: 11px;
  color: var(--text-muted, #8a8a8a);
}

.live-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  border-radius: 4px;
  background: #2e3b4e;
  color: #ffffff;
  font-size: 8px;
}
\n\n.hover-text-white { transition: color 0.2s ease; }\n.hover-text-white:hover { color: #fff !important; }