@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: #e6eaf1;
  color: #000000;
}
/* 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;
}


/* Top bar */
.topbar2 {
  gap:8px;
  background-color: #00c49a;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px ;
  
}

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

.about2 {
  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;
  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 {
  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;
}
/* League Tabs */
.league-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.tab {
  border: none;
  background: #eee;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;

}

.tab.active {
  background: #f2c94c;
}

.predictions{
     width: 97%;
  margin: 0 auto;
}
.arrow2 {
  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;
}
.contain{
  width: 100%;
}
/* hover / click = slightly lighter green */
.contain .arrow2:hover:not(:disabled) {
  background-color: rgba(0, 184, 148, 0.08);
  transform: translateY(-1px);
}

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

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

#day-number2 {
  min-width: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-top: 15px;
}
.contain{
   display: flex;
  justify-content: space-between; /* pushes Matches left, Done right */
  align-items: center;
  gap: 8px;

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

.black-arrow{
    background: none;
  border: none;
  font-size: 40px;
  color: #000;
  cursor: pointer;
}
.matches-header {
  display: flex;
  justify-content: space-between; /* pushes Matches left, Done right */
  align-items: center; /* vertically aligns them */
  
  margin-bottom: 15px;

}

.left{
  display: flex;
  align-items: center;
  gap: 25px;

}

.back-arrow{
  background: none;
  border: none;
  font-size: 50px;
  color: #000;
  cursor: pointer;

}

.subtitle {
  font-size: 1rem;
  font-weight: 400; /* normal weight for the rest of the text */
 
  Font: Rubik;
  
Size: 16px;

line-height:24px;
 margin: 0 0 10px 0;
    font-weight: bold;
  
}

.subtitle .bold {
  font-weight: 700; /* make just this part bold */
}


.match-card {
  background-color: #C4FFF4;
  padding: 16px;
  border-radius: 30px;
  margin-bottom: 15px;
 
  Gap: 16px;
  border-radius: 9px;
  margin-top: 6px;
  padding: 9px 13px;
  margin-top: 6px;
  box-shadow: 
  0 2px 4px rgba(0,0,0,0.1);
}

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

.team {
  display: flex;
  flex-direction: column; /* Stack image above text */
  align-items: center;
     white-space: normal;      /* allow wrapping (undo nowrap if you had it) */
  word-break: break-word;   /* break very long words if needed */
  hyphens: auto;            /* optional: add hyphen when breaking */

     /* Center image and text horizontally */
}

.team img {
  width: 60px;
  height: 60px;
}

.match-center {
  text-align: center;
}

.vs {
  font-weight: bold;
  margin-bottom: 4px;
}

.prediction-label {
  font-weight: bold;
  font-size: 14px;
  margin-top: 10px;

}

.score-inputs {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.score-box {
  display: flex;
  align-items: center;

  border-radius: 8px;
  padding: 3px 5px;
}

.score-box button {
  background-color: #ffffff;
  border: none;
  padding: 5px 8px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  color: #000000;
}

.score-box input {
  width: 40px;
  text-align: center;
  border: none;
  background-color: #00B894;
  color: #ffffff;
  font-weight: bold;
  border-radius: 6px;
  margin: 0 4px;
  height: 40px;
}
.hr{
   color: #D8E8FF;
}
.matches-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* places arrow left, Done right */
  padding: 10px 20px;
}

.back-arrow  {
  text-decoration: none;   /* remove underline */
  color: #000;          /* blue text color */
  font-weight: bold;
  font-size: 18px;
}
.done{
    text-decoration: none;
    color: blue;
}
.back-arrow:hover, .done:hover {
  color: #0056b3;          /* darker blue on hover */
}
/* --- Confirm Modal (safe defaults; hidden by default) --- */
html,body{opacity:1;visibility:visible}
#gprompt-overlay{position:fixed;inset:0;display:none;place-items:center;z-index:9999}
#gprompt-overlay.is-open{display:grid}
.gprompt__backdrop{position:absolute;inset:0;background:rgba(32,33,36,.6)}
.gprompt__dialog{
  position:relative;background:#fff;border-radius:16px;
  box-shadow:0 8px 28px rgba(0,0,0,.28);
  width:min(520px,90vw);padding:20px
}
.gprompt__x{position:absolute;top:8px;right:8px;border:none;background:transparent;font-size:20px;line-height:1;color:#5f6368;cursor:pointer}
.gprompt__title{margin:0 0 10px;font-weight:700;font-size:18px;text-align:center}
.gprompt__subtitle{font-size:14px;margin-bottom:12px}
.gprompt__badge{color:#10b981;font-weight:800}
.gprompt__list{max-height:45vh;overflow:auto;border-top:1px solid #eee;border-bottom:1px solid #eee}
.gprompt__row{
  display:grid;grid-template-columns:24px 1fr auto 24px 1fr;
  gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #f6f6f6
}
.gprompt__logo{width:24px;height:24px;object-fit:contain}
.gprompt__team{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gprompt__score{font-weight:700;font-size:14px;letter-spacing:.3px}
.gprompt__actions{display:flex;gap:12px;justify-content:space-between;margin-top:14px}
.gprompt__btn{flex:1;height:40px;border-radius:10px;border:1px solid #dadce0;background:#fff;font-weight:600;cursor:pointer}
.gprompt__btn--primary{background:#1a73e8;color:#fff;border-color:#1a73e8}






/* wrapper for the second < icon 1 icon > group */
.page-controls2 {
  display: flex;
  align-items: center;
  justify-content: center;
  
  gap: 8px;
}

/* base style for both arrow buttons (second set) */
.page-controls2 .arrow2 {
  width: 30px;
  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 icon for this control set */
.page-controls2 #prev-day.arrow2 {
  background-image: url("../img/arrow-left-green.png");
}

/* right icon for this control set */
.page-controls2 #next-day.arrow2 {
  background-image: url("../img/arrow-right-green.png");
}

/* hover / focus */
.page-controls2 .arrow2:hover:not(:disabled),
.page-controls2 .arrow2:focus-visible:not(:disabled) {
  background-color: rgba(0, 184, 148, 0.10);
  outline: none;
}

/* click effect (light green + small press) */
.page-controls2 .arrow2:active:not(:disabled) {
  background-color: rgba(0, 184, 148, 0.20);
  filter: brightness(1.1);
  transform: translateY(1px);
}

/* disabled state if you ever disable these */
.page-controls2 .arrow2:disabled {
  opacity: 0.35;
  cursor: default;
  background-color: transparent;
  filter: none;
  transform: none;
}

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


/* Header layout on predictions page */
.predictions .matches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
}

/* Left side: back arrow + title */
.predictions .matches-header .left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Back arrow icon (replace URL with your real file if needed) */
.back-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("../img/black-arrow-left.png"); /* <= your arrow image */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
  text-decoration: none;

  /* hide the "<" text but keep link accessible */
  font-size: 0;
}

/* Title */
.predictions .matches-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* "Done" link – initial state: light gray, not clickable */
.predictions .done {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #bfc2c7;          /* light gray */
  cursor: default;
  pointer-events: none;    /* disabled until user changes a score */
}

/* When user has touched +/- at least once */
.predictions .done.done-active {
  color: #007aff;          /* iOS-style blue */
  cursor: pointer;
  pointer-events: auto;
}
