/* Older style => no row hover or highlight
   H2H => date & score centered
   Odds => lightblue heading with darkgreen color
   Tip => partial line in different colors (draw=lightgreen, home=blue, away=red) 
*/

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

#sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #000; 
}
#page-header {
  background: #000;
  color: #fff;
  padding: 10px;
}
#page-header h1 {
  margin: 0;
}
#page-header h2 {
  margin: 5px 0 0 0;
  font-weight: normal;
  opacity: 0.85;
}

#status-filter-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #5D688A;
  color: #ffc800;
}
#filters-container {
  display: flex;
  background: #00809D;
  color: #ffc800;
  padding: 10px;
  gap: 15px;
}
#filters-form {
  display: flex;
  gap: 15px;
}
.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 120px;
}
.filter-group label {
  margin-bottom: 4px;
  font-weight: bold;
  color: #ccc;
}
#clear-filters-btn {
  padding: 6px 12px;
  border: none;
  background: #303853 !important;
  color: #eee !important;
  cursor: pointer;
  border-radius: 4px;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}
#loading {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 10px;
}
.hidden {
  display: none !important;
}

#fixtures-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
#fixtures-table thead {
  background: #5D688A !important;
  color: #fff;
}
#fixtures-table th, #fixtures-table td {
  padding: 2px;
  border: 0px solid #eee;
}
#fixtures-table tbody tr:nth-child(even) {
  background: #f2f2f2;
}
#fixtures-table tbody tr:nth-child(odd) {
  background: #fff;
}

/* TABS => older style => no row highlight. */
.tabs-row td {
  background: #e9ffe6;
  padding: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}
.tab-list {
  display: flex;
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ccc;
}
.tab-list .tab {
  padding: 10px 20px;
  background: #eee;
  cursor: pointer;
  border-right: 1px solid #ccc;
}
.tab-list .tab:last-child {
  border-right: none;
}
.tab-list .tab.active {
  background: #fff;
  border-bottom: 2px solid #28a745;
  font-weight: bold;
}
.tab-content {
  display: none;
  background: #fafafa;
  border: 1px solid #ccc;
  border-top: none;
  padding: 10px;
}
.tab-content.active {
  display: block;
}

/* H2H => date & score centered => .h2h-date, .h2h-score, entire row center */
.h2h-date {
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
}
.h2h-score {
  text-align: center;
  font-weight: bold;
}
.h2h-row > div {
  text-align: center;
}

/* Odds => table heading => lightblue background, darkgreen color. */
.odds-table thead {
  background: lightblue !important;
  color: darkgreen !important;
}

.result-stats-container {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.prediction-accuracy-table {
  width: 100%;
  border-collapse: collapse;
}

.prediction-accuracy-table th,
.prediction-accuracy-table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
}

.prediction-accuracy-table th {
  background-color: #4CAF50;
  color: white;
}

.prediction-accuracy-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.prediction-accuracy-table tr:hover {
  background-color: #ddd;
}

@media (max-width: 480px) {
  .tab-content [id^="ad-"] { min-height: 250px; }
}

/* Ensure ad space at the bottom of each tab panel */
.fw-admount { min-height: 250px; margin-top: 12px;
margin-bottom:20px;
	margin-top:10px;
	text-align:center;
}



/* Older style => no row hover or highlight
   H2H => date & score centered
   Odds => lightblue heading with darkgreen color
   Tip => partial line in different colors (draw=lightgreen, home=blue, away=red) 
*/

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}


.content-area {
    margin-top: 0px;
    margin-bottom: 0px;
}

.hero-container {
    position: relative;
    visibility: hidden;
    height: 0px;
    
}

#sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #000; 
}
#page-header {
  background: #000;
  color: #fff;
  padding: 10px;
}
#page-header h1 {
  margin: 0;
}
#page-header h2 {
  margin: 5px 0 0 0;
  font-weight: normal;
  opacity: 0.85;
}

#status-filter-container {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  background: #5D688A;
  color: #ddd;
	font-size:12px;
	font-weight:bold;
	border-bottom:1px solid #28616B;
font-family:helvetica !important;
	
}
#filters-container {
  display: flow;
  background: #5D688A;
  color: #ffc800;
  padding: 2px;
  gap: 15px;
	text-align:center !important;
		

}
#filters-form {
  display: flex;
  gap: 12px;
}
.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 31%;
}
.filter-group label {
  margin-bottom: 4px;
  font-weight: bold;
  color: #ccc;
	font-size:12px
}
#clear-filters-btn {
    padding: 2px;
    border: none;
    background: #ccc;
    color: #000;
    cursor: pointer;
    border-radius: 2px;
    margin-left: -51px;
    margin-top: -30px;
    max-width: 45px;
    max-height: 30px;
    font-size: 14px;
}

.container {
  max-width: 700px;
  margin: 5px auto;
  background: #28616b;
  padding: 0px;
  border-radius: 2px;
}

.site-container, .site-header-row-layout-contained, .site-footer-row-layout-contained, .entry-hero-layout-contained, .comments-area, .alignfull > .wp-block-cover__inner-container, .alignwide > .wp-block-cover__inner-container {
    max-width: var(--global-content-width);
    padding: 5px !important;
}

#loading {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 10px;
}
.hidden {
  display: none !important;
}

table td {
    background-color: white;
	font-family:helvetica;
	color:black;
}

#fixtures-table td:hover {
    background:#eee;
}

#fixtures-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2px;
}

#fixtures-table td {
  padding: 2px;
  border-right:0px solid #eee !important;
	font-size: 80%;
		color:black !important;
	box-shadow: 05px 0px 5px 0px #eee !important;
}

.stats-table td, .fixtures-table td {
    padding: 2px;
    text-align: center;
    border: 0px solid #ddd;
    color: #222 !important;
}

#fixtures-table th{
  padding: 4px;
	font-size: 90%;
	background-color:#5D688A;
	color: white;
}



#fixtures-table tr{
  border-bottom:0px solid #eee;
	box-shadow: 0px 2px 10px 2px #ddd;
}




/* TABS => older style => no row highlight. */
.tabs-row td {
  background: #eff2f5;
  padding: 10px;
  
}

.single-content ul, .single-content ol {
    margin: 0px;
    padding-left: 0px;
}

.tab-list {
  display: flex;
  margin: 0 0 5px 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ccc;
	color:black !important;
	background: white;
	font-size:120%;
	font-family:arial black;
	
}
.tab-list .tab {
  padding: 5px 10px;
  background: #fc0;
	border-color: #e8bd11 !important;
  cursor: pointer;
  
	min-height:30px;
	border-radius: 2px;
	margin-left:2px;
	opacity:100%;
}
.tab-list .tab:last-child {
  border-right: none;
}
.tab-list .tab.active {
  background: #5D688A;
  border-bottom: 2px solid BLUE;
  font-weight: bold;
	color:white;
	font-family: arial black;
	font-size: 100%
}

.tab-content {
  display: none;
  background: #f9f4f4;
  border: 1px solid #ccc;
	border-radius:5px !important;
  border-top: none;
  padding: 2px;
	color:#4c3d4e !important
}
.tab-content.active {
  display: block;
}

/* H2H => date & score centered => .h2h-date, .h2h-score, entire row center */
.h2h-date {
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
}
.h2h-score {
  text-align: center;
  font-weight: bold;
}
.h2h-row > div {
  text-align: center;
}

/* Odds => table heading => lightblue background, darkgreen color. */
.odds-table thead {
  background: lightblue !important;
  color: darkgreen !important;
}

.h2h-homeT {
    text-align: center;
    font-weight: bold;
}

.h2h-awayT {
    text-align: center;
    font-weight: bold;
}

.pmpro {
    color: darkviolet;
}

.pmpro_level td p:first-of-type {
    margin-top: 0;
    color: black;
    font-size: 125%;
}

body, input, select, optgroup, textarea {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    font-family: var(--global-body-font-family);
    color: #838d9d;
}

/* google ads in script*/

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}



/* Add these styles */
.tab-ad-wrapper {
  min-height: 280px;
  position: relative;
  background: #f8f8f8;
  margin: 20px 0;
}

.tab-ad-wrapper.loaded {
  min-height: auto;
}

.adsbygoogle {
  opacity: 0;
  transition: opacity 0.3s;
}

.adsbygoogle[data-adsbygoogle-status="done"] {
  opacity: 1;
}

.loading-content {
  min-height: 200px;
  background: orange;
}

#summary-div table tbody tr:nth-child(odd)  td {
  background-color: #fff !important;
}
#summary-div table tbody tr:nth-child(even) td {
  background-color: #f9f9b9  !important;
}

.hidden { display: none; }

#fixtures-scroll {
  overflow-x: auto;
  /* no fixed height */
}

#loading {
  text-align: center;
  padding: 20px;
  font-size: 18px;
}

/*match stats graphics */
/* Container & groups */
.match-stats-container { font-family: sans-serif; color: #333; }
.ms-group { margin-bottom:12px; }

/* Section titles */
.ms-title {
  text-align: center;
  font-weight: bold;
  margin-bottom:10px;
  font-size: 0.95em;
}

/* Each row: tighter spacing */
.ms-row {
  padding: 2px 0;
}
.ms-label {
  text-align: center;
  font-size: 0.85em;
  margin-bottom: 2px;
}
.ms-values {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}
.ms-val {
  font-size: 0.9em;
  min-width: 20px;
  text-align: center;
}

/* Bar containers */
.ms-bar-wrap {
  position: relative;
  height: 8px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}
.ms-bar-home {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: #f15268 !important;
}
.ms-bar-away {
  position: absolute; right:0; top:0; bottom:0;
  background: #7dc1ef !important;
}
/* Highlight winner with darker shade */
.ms-bar-home.highlight { background: crimson; }
.ms-bar-away.highlight { background: royalblue; }

/* Highlighted value bubbles */
.ms-val-home.highlight {
  background: #f15268 !important; color: #fff;
  padding: 2px 4px; border-radius: 5px;
}
.ms-val-away.highlight {
  background: #7dc1ef !important; color: #fff;
  padding: 0 4px; border-radius: 3px;
}

/* Goal-box row */
.goal-box-row { padding-top: 2px; border-top: 1px solid #ddd; }
.goal-box {
  display: flex;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  margin: 4px auto 0;
  width: 80%;
}
/* Off-target large box */
.box-off {
  background: lightgray;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  color: #333;
}
/* On-target smaller box */
.box-on {
  background: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  color: #fff;
}

/* Container for the two off-target bars */
.goal-box {
  position: relative;
  display: flex;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  margin: 4px auto 0;
  width: 80%; /* adjust as needed */
}

/* Home off-target = lightgreen */
.outer-home {
  background: lightgreen;
}

/* Away off-target = lightblue */
.outer-away {
  background: lightblue;
}

/* Inner overlay sits centered over the goal-box */
.inner-overlay {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  border: 5px solid white;
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Home on-target box = lightcoral (light-red) */
.inner-home {
  background: lightcoral;
  padding: 4px 8px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  color: white;
  font-weight: bold;
  text-align: left;
}

/* Label between the two */
.inner-label {
  padding: 0 8px;
  font-size: 0.85em;
  color: #333;
}

/* Away on-target box = lightgreen */
.inner-away {
  background: lightgreen;
  padding: 4px 8px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  color: white;
  font-weight: bold;
  text-align: right;
}

/* Tweak spacing to compact up/down */
.ms-row.goal-box-row {
  padding-top: 2px;
  padding-bottom: 2px;
  border-top: 1px solid #ddd;
}


/*events tab styling */
.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.event-row {
  display: flex;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}
.event-time {
  background: #4caf50;
  color: white;
  border-radius: 3px;
  padding: 0 6px;
  margin-right: 8px;
  font-size: 0.9em;
}
.event-icon {
  width: 20px;
  text-align: center;
  margin-right: 8px;
}
.event-home {
  flex: 1;
  text-align: left;
}
.event-away {
  flex: 1;
  text-align: right;
}

.day-tabs .day-tab.active {
  background: #e6f4ea;
  border-color: #b7e1cd;
  font-weight: 600;
}
.day-tabs .day-tab:hover {
  background: #f0f0f0;
}

.braintree-dropin .braintree-form__field-group,
.braintree-dropin .braintree-form__hosted-field {
  display: block !important;
  visibility: visible !important;
}

.tab-content [id^="ad-8909283504"] { min-height: 280px; margin-top: 12px; }

img.wp-smiley, img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 0.7em !important;
    width: 0.7em !important;
    margin: 0 0.07em !important;
    vertical-align: 0em !important;
    background: none !important;
    padding: 0 !important;
}

.wt-tab.active {
    background: #303853 !important;
    color: #fff;
    border-color: #303853 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.wt-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    border: 0px solid #d9d9d9 !important;
    background: #FFF2EF !important;
    color: #222;
    border-radius: 5px;
    padding: 2px 3px;
    width: 55px !important;
    height: 25px !important;
    font-weight: 700;
    font-size: 10px;
    line-height: 0.5;
    cursor: pointer;
    user-select: none;
    transition: background .15s, color .15s, border-color .15s, transform .05s;
}

.wt-tab .wt-corner {
    position: absolute;
    top: 3px;
    right: 6px;
    font-weight: 500;
    opacity: .95;
    font-size: 85%;
}

.wt-tab .wt-date {
    font-weight: 700;
    font-size: 125%;
}

.fwpp-cat-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 4px !important;
    padding: 4px !important;
    background: blue !important;
    margin: 5px 0 !important;
    cursor: pointer;
	color:black !important;
	font-size:12px !important;
}

.fwptc-outer thead th {
    background: #f7f7f7;
    text-align: center;
    padding: 2px !important; 
    font-size: 14px;
}