@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap');
body {
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  background-color: #e9e9fc;
  color: #000000;
}

/* Top bar */
.topbar {
  background-color: #00c49a;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.logo {
  margin: 0;
  font-size: 1.2em;
}

.about {
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

:root {
  --fbl-accent: #00B894; /* teal active color */
}

/* nav container */
nav.nav {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 8px 0 0;
  border-bottom: 1px solid #e0e0e0; /* full-width bottom line */
  background: #ffffff;
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin-top: 10px;        /* 👈 this pushes the white nav down a bit */
  /* optional: rounded corners to match the mockup */
  border-radius: 8px 8px 0 0;
}

/* each item (inactive) */
nav.nav .nav-item {
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  flex: 1;
  text-align: center;
  padding: 6px 0 10px;
  cursor: pointer;
  color: #8b8f99;
  font-size: 12px;
  position: relative; /* for underline */
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* icon (inactive) */
nav.nav .nav-item img {
  display: block;
  margin: 0 auto 4px;
  width: 22px;
  height: 22px;
  filter: grayscale(1) opacity(0.6); /* grey icons when inactive */
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.1s ease;
}

/* label */
nav.nav .nav-item span {
  display: block;
}

/* ACTIVE state (added via JS): text + icon + glow */
nav.nav .nav-item.nav-active span {
  color: var(--fbl-accent);
}

nav.nav .nav-item.nav-active img {
  filter: drop-shadow(0 0 6px rgba(0, 184, 148, 0.9));
  opacity: 1;
  transform: translateY(-1px);
}

/* short teal line under the active tab */
nav.nav .nav-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background-color: var(--fbl-accent);
  box-shadow: 0 0 8px rgba(0, 184, 148, 0.7);
  transform: translateX(-50%);
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease;
}

nav.nav .nav-item.nav-active::after {
  width: 40%;  /* little line, not full width */
  opacity: 1;
}

/* Scrollable group tabs: Group A–F */
.league-tabs {
  display: flex;
  flex-wrap: nowrap;           /* stay on one line */
  overflow-x: auto;            /* scroll left/right if needed */
  overflow-y: hidden;
  gap: 6px;
  padding: 8px 0;
  margin: 15px 0;
  -webkit-overflow-scrolling: touch; /* smooth on mobile */

  /* hide scrollbar in most browsers */
  scrollbar-width: none;       /* Firefox */
}

.league-tabs::-webkit-scrollbar {
  display: none;               /* Chrome / Safari / Edge (WebKit) */
}

/* Each tab keeps its size and can scroll horizontally */
.league-tabs .tab {
  flex: 0 0 auto;              /* DO NOT stretch, keep natural width */
  white-space: nowrap;
  border: none;
  outline: none;
  border-radius: 988px;
  padding: 6px 16px;
  background-color: #FFF4E3;
  color: #000000;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

/* Active tab – same style you had before */
.league-tabs .tab.active {
  background-color: #F5A623;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.45);
  transform: translateY(-1px);
}
.afcon-group-title {
  margin: 12px 4px 6px;
  font-size: 13px;
  font-weight: 600;
}
/* clickable icon on the right */
.topbar .about{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;               /* makes SVG inherit white */
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.topbar .about-icon{
  width: 27px;
  height: 27px;
  fill: currentColor;        /* inherits white from .about */
}

/* optional hover */
.topbar .about:hover{
  background: rgba(255,255,255,0.12);
}

/* right-side menu container */
.menu-wrap{
  position: relative;
  margin-left: auto;
}

/* icon button */
.menu-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;              /* icon is white */
}

.menu-btn:hover{
  background: rgba(255,255,255,0.12);
}

.menu-icon{
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* popup menu */
.menu-popup{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  min-height: 500px;
  background: #fff;      /* light gray */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  padding: 8px;
  display: none;
  z-index: 9999;
}

.menu-popup.open{
  display: block;
}

/* menu items */
.menu-item{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #000;              /* black text */
  text-decoration: none;
  font-size: 14px;
  background: #d8fadd;
   gap: 10px;
}
/* Topbar */


.logo{
  color:#fff;
  font-size:18px;
  letter-spacing:1px;
  margin:0;
}

/* Bell button */
.bell-btn{
  position: relative;
  border:0;
  background:transparent;
  cursor:pointer;
  padding: 6px 8px;
  border-radius: 10px;
}

.bell-icon{
  width: 26px;
  height: 26px;
  object-fit: contain;
  display:block;
}

/* Glowing unread dot (white glow) */
.bell-btn.has-unread::after{
  content:"";
  position:absolute;
  top: 4px;
  right: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 14px rgba(255,255,255,0.7);
}

/* Full page panel */
.bell-page{
  position: fixed;
  inset: 0;
  background: #f9f5f5;
  display: none;
  z-index: 2000;
}

.bell-page.open{
  display: block;
}

.bell-page__inner{
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 16px 24px;
}

.bell-page__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.bell-page__title{
  margin: 0;
  font-size: 18px;
  color:111;
}

.bell-close{
  border: 0;
  background: #f1f3f5;
  color: #111;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}

/* Tabs row */
.tab-row{
  display:flex;
  flex-direction: column;
  gap: 14px;              /* reasonable gap between tabs */
  margin-bottom: 18px;
}

/* Tab cards */
.tab-card{
  text-decoration: none;
  width: 300px;          /* reduce this */
  max-width: 300px;
  display:flex;
  align-items:center;
  justify-content:space-between; /* puts arrow on the right */
  gap: 12px;
  padding: 14px 14px;
  border: 0;
  border-radius: 12px;     /* small border radius */
  background: #00B894;     /* light gray */
  color: #fff;
  cursor: pointer;
  text-align:left;
  transition: background 160ms ease, transform 160ms ease;
}

.tab-card:hover{
  background: #00B894;     /* light green on hover */
}

.tab-card:active{
  transform: scale(0.99);
}

.tab-label{
  font-size: 16px;
  font-weight: 600;
}

.tab-arrow{
  font-size: 20px;
  line-height: 1;
  opacity: 0.85;
}

/* Content area */
.bell-page__content{
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #f1f3f5;
}






.menu-item:hover{
  background: rgba(5, 126, 23, 0.08);
}
/* Icons */
.menu-icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.centralized {
  max-width: px;
  margin: 0 auto;
  padding: 0 px;
}

/* Matches */
.matches {
  padding: 10px 20px;
}

.matches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}




/* wrapper for < 2 > */
.page-controls {
  display: flex;
  align-items: center;
  gap: 0px;
  color: #00c49a;
  
}

/* arrows: look like teal chevrons, no button chrome */
.page-controls .arrow {
  border: none;
  background: transparent;
  color: var(--fbl-teal);
  font-size: 40px;          /* size of < and > */
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 999px;
  color: #00c49a;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    transform 0.1s ease,
    opacity 0.15s ease;
    
  padding: 0;             /* remove extra padding */
  margin: 0 8px;          /* ⟵ small manual space to the number */
  border-radius: 999px;
}

/* hover / click = slightly lighter green */
.page-controls .arrow:hover:not(:disabled) {
  background-color: rgba(0, 184, 148, 0.08);
  transform: translateY(-1px);
}

#prev-day {
  background-image: url("../img/arrow-left-green.svg");
}

/* right arrow icon */
#next-day {
  background-image: url("../img/arrow-right-green.svg");
}

.page-controls .arrow:active:not(:disabled) {
  background-color: rgba(0, 184, 148, 0.16);  /* "light green" feel */
}

/* disabled state (e.g. at first/last matchday) */
.page-controls .arrow:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
}

/* the day number in the middle (bold black) */
#day-number {
  min-width: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #333333;
}


.day {
  margin-top: 15px;
  -webkit-overflow-scrolling: touch;
}

.day h4 {
  color: #000000;
  font-size: 0.9em;
}





/* Match cards */

.match-card {
  border-radius: 9px;
  margin-top: 6px;
  padding: 9px 13px;
}

.cyan {
  background-color: #C4FFF4;
}

.blue {
  background-color: #D8E8FF;
}

/* Match layout */
.match-info {
  display: flex;
  align-items: flex-start;

}

.time {
  width: 50px;
  
  color: #000000;
  font-size: 0.9em;
  margin-top: 50px;
}

.teams {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  font-weight: bold;
}

.team {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  
}

.team img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.fixed-button {
  position: fixed;         /* makes the button stay in place even when scrolling */
  bottom: 20px;            /* distance from the bottom of the page */
  right: 20px;             /* distance from the right side */
  background-color: #007BFF; /* bright blue background */
  color: white;            /* white text */
  padding: 12px 24px;      /* button size */
  border: none;
  border-radius: 8px;      /* rounded corners */
  text-decoration: none;   /* removes underline since it's a link */
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* subtle shadow */
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1000;           /* ensures it stays above other elements */
}

.fixed-button:hover {
  background-color: #0056b3; /* darker blue when hovered */
}

 

:root {
  --fbl-teal: #00B894;
}

/* wrapper for <icon> 14 <icon> */
.page-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* base style for both arrow buttons */
.page-controls .arrow {
  width: 18px;                 /* round clickable area */
  height: 30px;
  padding: 0;
  margin: 0 6px;               /* small gap from the number */
  border: none;
  border-radius: 999px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;  /* icon size */
  cursor: pointer;

  /* hide the text "<" and ">" but keep them for accessibility */
  font-size: 0;
}

/* left arrow icon */
#prev-day {
  background-image: url("../img/arrow-left-green.png");
}

/* right arrow icon */
#next-day {
  background-image: url("../img/arrow-right-green.png");
}

/* hover / focus: light green halo */
.page-controls .arrow:hover:not(:disabled),
.page-controls .arrow:focus-visible:not(:disabled) {
  background-color: rgba(0, 184, 148, 0.10);
  outline: none;
}

/* click: slightly lighter + pressed */
.page-controls .arrow:active:not(:disabled) {
  background-color: rgba(0, 184, 148, 0.20);
  filter: brightness(1.1);     /* icon looks a bit lighter */
  transform: translateY(1px);
}

/* disabled state, if you ever disable at edges */
.page-controls .arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background-color: transparent;
  filter: none;
  transform: none;
}

/* matchday number in the middle */
#day-number {
  display: inline-block;
  margin: 0 2px;
  min-width: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #333333;
}


/* TITLE + WRAPPER */
.season-title {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 15px;
  font-weight: 400;
}

* back arrow image */
.back-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("../img/black-arrow-left.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
  text-decoration: none;
  margin-left: 2px;
  font-size: 0; /* hide "<" text */
}


.tabs-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  gap: 10px; /* space between tabs */
  scrollbar-width: none; /* Hide scrollbar (Firefox) */
}

.tabs-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar (Chrome/Safari) */
}

.tab-item {
  flex: 0 0 auto;    /* Prevent tabs from shrinking */
  padding: 10px 16px;
  background: #eee;
  border-radius: 8px;
  cursor: pointer;
}
/* Withdraw Bonus Modal */
.wb-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.wb-modal.open{
  display: block;
}

.wb-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.wb-modal__panel{
  position: absolute;
  top: 90px;
  right: 14px;
  left: 14px;
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  overflow: hidden;
}

.wb-modal__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  background: #f3f3f3;
}

.wb-modal__title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.wb-modal__close{
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.wb-modal__body{
  padding: 14px;
}

.wb-row{ margin-bottom: 12px; }

.wb-label{
  display:block;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.wb-providers{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wb-pill{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #e9e9fc;
  font-weight: 700;
  color: #111;
  cursor: pointer;
}

.wb-pill input{ accent-color: #00b29b; }

.wb-input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
}

.wb-btn{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: none;
  background: #00b29b;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.wb-btn:hover{
  filter: brightness(0.98);
}

.wb-note{
  margin: 10px 0 0;
  font-size: 12px;
  color: #555;
}
