/* === Suggested Wager === */

.odds-toggle {
  display: none;
}

.odds-label {
  padding: 9px 12px;      /* taller than before */
  border-radius: 30px;
  font-size: 16px;        /* slight bump */
  font-weight: bold;
  background-color: rgba(180, 180, 180, 0.3);
  color: #000;
  border: 2px solid rgba(120, 120, 120, 0.5);
  backdrop-filter: blur(3px);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  line-height: 1;
}


.odds-label:hover {
  background-color: #ffce91;
  border-color: #d99900;
  color: #000;
}
.odds-toggle:not(:checked) + .odds-label:hover {
  background-color: #ffce91;
  border-color: #d99900;
  color: #000;
}
.odds-toggle:checked + .odds-label {
  background-color: rgba(40, 167, 40, 0.8);
  color: #fff;
  border-color: rgba(40, 167, 69, 0.7);
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}

.suggested-wager-header {
  width: 30px;
  font-size: 14px;
  color: #444;
}

.suggested-wager-cell {
  text-align: center;
  vertical-align: middle;
  padding: 2px;
}

.suggested-wager-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  font-size: 14px;
  font-weight: bold;
  color: #444;
  background-color: white;
  cursor: pointer;
  line-height: 16px;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
}

.suggested-wager-circle:hover {
  border-color: #999;
  background-color: #f0f0f0;
}

.suggested-wager-circle.lit {
  /* baseline effects only; color/border come from .conf-* in table.css */
  animation: glow 2.4s infinite ease-in-out;
  transform: scale(1.1);
  margin: 0;
}

.suggestion-text {
  font-size: 10px;
  margin-top: 0;
  margin-bottom: 0;
  color: #333;
}

.suggested-row .suggested-wager-text {
  font-size: 12px;
  font-weight: 500;
  color: #464646;
  background-color: #eaffea;
  padding: 6px 10px;
  margin-left: 12px;
  border-left: 2px solid #0606068a;
  border-radius: 12px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
  text-align: left;
  transform: translateX(4px);
}

.suggested-wager-block {
  margin-bottom: 8px;
  padding: 4px 8px;
  background-color: #eaffea;
  border-left: 2px solid #818181;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 1px 22px rgb(0 0 0 / 65%);
}

.suggested-wager-block:last-child {
  margin-bottom: 0;
}

.suggested-wager-expanded {
  background-color: #f8fff8;
  padding: 4px;
}

.suggested-row td {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  border-top: none;
}

/* Suggested Wager legend (matchups page) */
.sw-legend {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  margin: 6px 0 10px;
  font-size: 12px;
}
.sw-legend .sw-item { display: inline-flex; align-items: center; gap: 6px; }
.sw-legend .sw-btn {
  width: 18px; height: 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; line-height: 1; border: 1px solid transparent;
}

/* Suggested Wager vertical legend */
.sw-legend-row{
  display:flex;
  justify-content:flex-start;
  width:100%;
}

.sw-legend-box{
  display:inline-block;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:12px;
  background:#f1f1f1;
  box-shadow:0 1px 6px rgba(0,0,0,0.85);
  text-align:left;                 /* force left alignment */
}

.sw-legend-title{
  font-size:16px;                  /* slight emphasis */
  font-weight:700;                 /* bolder */
  letter-spacing:.3px;
  opacity: 0.9;
  margin-bottom:10px;
  text-align: center;
}

.sw-legend-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:row;       /* horizontal under the title */
  flex-wrap:wrap;           /* wraps nicely on small screens */
  gap:12px 16px;            /* row x column gap */
  font-size:12px;
}
.sw-legend-list li{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.sw-dot{
  width:16px;
  height:16px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  line-height:1;
  border:1px solid transparent;
  /* colors come from .suggested-wager-circle.lit.conf-{level} */
}

/* Header layout: legend left, title centered, timestamp right */
.page-header{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  column-gap:16px;
  /* position:relative; */             /* enable absolute centering */
  padding-block:10px;              /* ensures row has height for the title */
}
.page-center{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
  pointer-events:none;            /* title won't block clicks on controls */
}
.page-right{ text-align:right; }
.page-left{ text-align:left; }    /* keep legend/title left-aligned */

/* Make the legend box sit tight in the header */
.page-left .sw-legend-box{ margin:0; }

@media (max-width: 720px){
  .page-header{ grid-template-columns:1fr; row-gap:8px; }
  .page-center{ position:static; transform:none; pointer-events:auto; text-align:center; }
  .page-left{ order:2; }
  .page-right{ order:3; text-align:right; }
}

/* --- Suggested Wager alignment polish --- */
.suggested-wager-block .s-line {
  display: flex;
  align-items: center;         /* keeps logo, text, and badge on one baseline */
  gap: 6px;
  line-height: 1.2;            /* consistent row height */
  margin: 1px 0;               /* even vertical spacing */
}

.suggested-wager-block .s-label {
  min-width: 148px;            /* aligns columns after the label */
  flex: 0 0 auto;
}

.suggested-wager-block .s-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.suggested-wager-block .team-logo {
  vertical-align: middle;
}

.suggested-wager-block .conf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;                /* keeps pill from stretching the row */
  padding: 0 8px;
  line-height: 18px;
  min-width: 45px;
}

.rank-badge{
  display:inline-block;
  font-weight:600;

}

/*.rank-badge{ font-weight:600; margin-right:.25rem; }*/

