/**********************************************************************
/*   Number History                                                                 
/**********************************************************************/
body {
  background-color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

.messageParagraph {
  margin: 10px; /* Adjust margin as needed */
  font-size: 18px; /* Adjust font size as needed */
  line-height: 1.5; /* Adjust line height as needed */
  width: 100%; /* Make the paragraph occupy 100% of its container's width */
}

/* Responsive styles for mobile screens */
@media (max-width: 600px) {
  body {
      background-color: lightgray; /* Different background for smaller screens */
      padding: 10px;
  }

  .container {
      width: 100%; /* Make container fill the screen */
      padding: 0;
  }

  h1 {
      font-size: 20px; /* Smaller text on small screens */
  }
}
#historyContainer
{

    margin-top: 0px;
}

#trigger-results-numberUp-container{
    
    font-size: 30px;
    margin-left: 10px;

}


#history {
    position: relative;
    height: 1093px;
    overflow-y: auto; 
    overflow-x: hidden; 
    box-sizing: border-box;
    background-color: white;
}
.historyRed
{
	color:  #E0080B;
}
.historyBlack
{
	color: black;
}
.historyGreen
{
	color: green;
}

.nbnHistory{
	font-size: 1.7em;
	font-weight: bold;
	letter-spacing: 2px;
}

.button-history {
    background-color: #FFFFFF;
    border: 1px solid rgb(209,213,219);
    border-radius: .5rem;
    color: #111827;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: .75rem 1rem;
    text-align: center;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
  }
  
  .button-history:hover {
    background-color: #f9fafb;
  }
  
  .button-history:focus {
    outline: 2px solid rgba(0,0,0,0.1);
    outline-offset: 2px;
  }
  
  .button-history:focus-visible {
    -webkit-box-shadow: none;
    box-shadow: none;
  }


  #vnumberContainer {
    display: flex;       /* Aligns children (number divs) in a row */
    overflow: hidden;    /* Hides any overflowing content */
    white-space: nowrap; /* Ensures no line breaks within the container */
    width: 100%;         /* Takes full width of its parent */
    border: 1px solid black; /* Visible border for clarity */
    padding: 10px;       /* Some padding around the numbers */
    box-sizing: border-box; /* Includes padding and border in the width */
    margin-bottom: '50px';
    margin-left: '25px';
    margin-right: '25px' ;
    
    
}



.redNum{
  background-color: rgb(116, 116, 116);
  background-color: #db3333;
  background-color: rgb(27, 3, 3);
  background-color: #eb3838;
  color:rgb(255, 255, 255);
 
  
  
  }
  
  .blackNum{
  background-color: #000000;
  background-color: #2e2c2b;
  color:rgb(255, 255, 255);
  }
  
  .light-green {
      background-color: lightgreen;
    }
  
    .drag-overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 700px; /* Match the iframe's height */
      width: 100%; /* Match the iframe's width */
      z-index: 999999; /* Ensure it's above the iframe */
      /* Optional: make the overlay visible for debugging */
      /* background-color: rgba(255, 255, 255, 0.5); */
  }
  
  .formatted-text {
      white-space: pre-wrap; /* Preserves whitespace and line breaks, allows wrapping */
      word-wrap: break-word; /* Ensures words break to prevent overflow */
      font-family: monospace; /* Gives a fixed-width font similar to <pre> */
      font-size: 14pt; /* Sets the font size */
      overflow-y: auto; /* Adds vertical scrolling if content exceeds container height */
      max-height: 400px; /* Sets a maximum height for the content container */
  }
  
  .line {
      font-family: monospace;
      font-size: 14pt;
      margin-top: 5px; /* Adjust the space above each line */
      margin-bottom: 20px; /* Adjust the space below each line */
  }

/*********************************************************************************************

  Highlight Bet Locations

/*********************************************************************************************/

.hilight-quad {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-quad::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: 2px; /* Center the circle vertically */
	left: 0px; /* Center the circle horizontally */
	width: 50px; /* Half the width of the parent element */
	height: 50px; /* Half the height of the parent element */
	background-color: rgb(4, 134, 255); /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */
	

  }

  .hilight-split-upDown {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-split-upDown::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: -3px; /* Center the circle vertically */
	left: -2px; /* Center the circle horizontally */
	width: 15px; /* Half the width of the parent element */
	height: 15px; /* Half the height of the parent element */
	background-color: rgb(146, 235, 158);   /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */

  }

  .hilight-split-across {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-split-across::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: 15px; /* Center the circle vertically */
	left: -3px; /* -1 1 Center the circle horizontally */
	width: 15px; /* Half the width of the parent element */
	height: 15px; /* Half the height of the parent element */
	background-color: rgb(146, 235, 158);   /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */

  }

  .hilight-street {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-street::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: -3px; /* Center the circle vertically */
	left: -2px; /* Center the circle horizontally */
	width: 15px; /* Half the width of the parent element */
	height: 15px; /* Half the height of the parent element */
	background-color: rgb(255, 0, 0); /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */

  }

  .hilight-double-street {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-double-street::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: -3px; /* Center the circle vertically */
	left: 0px; /* Center the circle horizontally */
	width: 15px; /* Half the width of the parent element */
	height: 15px; /* Half the height of the parent element */
	background-color: rgb(72, 41, 248); /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */

  }



  

  .hilight-pattern-break {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-pattern-break::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: 5px; /* Center the circle vertically */
	left: 50px; /* Center the circle horizontally */
	width: 30px; /* Half the width of the parent element */
	height: 30px; /* Half the height of the parent element */
	background-color: rgb(12, 141, 247); /* Circle's fill color */
	border-radius: 25%; /* Makes the shape a circle */
	opacity: .70;

  }


  
.yellowBlackNum{
	background-color: #f3f165;
	color: black;
}

.greenHighlight{
	background-color: #f3f165;
	color:  green;
}

.outsideHighlight{
	background-color: #e5eb34;
	color: black;
	
}
.outsideHighlightRed{
	background-color: #fffb05;
	color:  red;	
}



.outsideHighlightBlack{
	background-color: #def365;
	color: black;
}

.yellowRedNum{
	background-color: #f3f165;
	color:  #E0080B;
}
.winHighlight{
	background-color:#f3f165
}



.hilight-straight {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-straight::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: 27px; /* Center the circle vertically */
	left: 38px; /* Center the circle horizontally */
	width: 15px; /* Half the width of the parent element */
	height: 15px; /* Half the height of the parent element */
	background-color: yellow ;  /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */


  }
  .hilight-groups {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-groups::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: -10px; /* Center the circle vertically */
	left: 38px; /* Center the circle horizontally */
	width: 15px; /* Half the width of the parent element */
	height: 15px; /* Half the height of the parent element */
	background-color: rgb(30, 255, 0);  /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */


  } 

  .hilight-unique {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-unique::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: -10px; /* Center the circle vertically */
	left: -15px; /* Center the circle horizontally */
	width: 15px; /* Half the width of the parent element */
	height: 15px; /* Half the height of the parent element */
	background-color: rgb(250, 63, 219);  /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */
  } 

  
  .hilight-pattern-even-odd-high-low {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-pattern-even-odd-high-low::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: 8px; /* Center the circle vertically */
	left: 5px; /* Center the circle horizontally */
	width: 20px; /* Half the width of the parent element */
	height: 20px; /* Half the height of the parent element */
	background-color: rgb(71, 48, 68) ;  /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */
  } 

  .hilight-pattern-rows {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-pattern-rows::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: 30px; /* Center the circle vertically */
	left: 3px; /* Center the circle horizontally */
	width: 20px; /* Half the width of the parent element */
	height: 20px; /* Half the height of the parent element */
	background-color: rgb(71, 48, 68);  /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */
  } 

  .hilight-pattern-hilow {
	position: relative; /* Required for the absolute positioning of the pseudo-element */
  }
  
  .hilight-pattern-hilow::before {
	content: ''; /* Required for pseudo-elements */
	position: absolute;
	top: 15px; /* Center the circle vertically */
	left: 50px; /* Center the circle horizontally */
	width: 20px; /* Half the width of the parent element */
	height: 20px; /* Half the height of the parent element */
	background-color: rgb(71, 48, 68);  /* Circle's fill color */
	border-radius: 50%; /* Makes the shape a circle */
  } 

 .redNum{
background-color: rgb(116, 116, 116);
background-color: #db3333;
background-color: rgb(27, 3, 3);
background-color: #eb3838;
color:rgb(255, 255, 255);


}

.blackNum{
background-color: #000000;
background-color: #2e2c2b;
color:rgb(255, 255, 255);
}

.light-green {
    background-color: lightgreen;
  }

  .drag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 700px; /* Match the iframe's height */
    width: 100%; /* Match the iframe's width */
    z-index: 999999; /* Ensure it's above the iframe */
    /* Optional: make the overlay visible for debugging */
    /* background-color: rgba(255, 255, 255, 0.5); */
}

.formatted-text {
    white-space: pre-wrap; /* Preserves whitespace and line breaks, allows wrapping */
    word-wrap: break-word; /* Ensures words break to prevent overflow */
    font-family: monospace; /* Gives a fixed-width font similar to <pre> */
    font-size: 14pt; /* Sets the font size */
    overflow-y: auto; /* Adds vertical scrolling if content exceeds container height */
    max-height: 400px; /* Sets a maximum height for the content container */
}

.line {
    font-family: monospace;
    font-size: 14pt;
    margin-top: 5px; /* Adjust the space above each line */
    margin-bottom: 20px; /* Adjust the space below each line */
}

/*********************************************************************************************

  Table Watch and Table Alert

/*********************************************************************************************/

.table-alert-title{
	margin-left:10px;
	color: rgb(252, 88, 13);
}
.trigger-watch-title
{
	margin-left:10px;
	color: rgb(252, 88, 13);
	margin-top: 50px;
}

#winAlertContainerId{

	color: black;

}
	.table-alert {
		width: 100%; /* Ensure table uses full width of its container */
		min-width: 350px;
		table-layout: auto; /* Adjust based on your layout needs */
		border-collapse: collapse; /* Optional: for cleaner border handling */
		background: rgb(255, 242, 206);
		margin-left: 10px;
		text-align: left;
		border: 1px solid black; 
		/*width: 300px;*/
		
	}

	.table-alert tr {
		border-top: 1px solid black;
	}

	.table-alert td {
		text-align: left;
		white-space: nowrap;
		padding: 5px;
		overflow: hidden; /* Hide overflow */
		text-overflow: ellipsis; /* Show ellipsis for overflowed content */
	}


.trigger-watch-table-title{
	margin-left:10px;

}
.trigger-watch-table-title-alert{
	margin-left:50px;
	color: rgb(252, 88, 13);

}
.trigger-watch-table-text{
	margin-left:50px;
	width: 800px;
}

.trigger-watch-table {
	
	
	min-width: 300px;
	background: #d0d6ce;
	color: #000000;
	border-radius: 0.4em;
	border: 1px solid #000; 
	overflow: hidden;
	margin-left:10px;
	margin-bottom: 10px;
	font-size: 1.7em;
  }
  .trigger-watch-table-alert {
	background: rgb(255, 242, 206);
  }
  .trigger-watch-table-alert tr {
	border-top: 1px black;
	border-bottom: 1px black;
  }

  .trigger-watch-table-alert td {
	text-align: left;
	border:1px black;
  }

  .trigger-watch-table tr {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
  }
  .trigger-watch-table th {
	text-align: left;
  }
  
  .trigger-watch-table td {
	text-align: left;
	border: 1px solid #ddd; 
  }

  .trigger-alert-table{
	background: rgb(255, 254, 204);
}
.trigger-alert-table td {
	text-align: left;
	border: 1px solid rgb(255, 254, 204);
  }




/*********************************************************************************************

  Highlight Tokens

/*********************************************************************************************/
:root {
  --circle-size: 20px;
}

  .hilight-outside-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    }
    
    .hilight-outside-defined::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    top: 50%; /* Center the circle vertically */
    left: 50%; /* Center the circle horizontally */
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    background-color: #fffb00;  /* Circle's fill color */
    border: 3px solid #080707; 
    border-radius: 50%; /* Makes the shape a circle */
    transform:translate(calc(50%), calc(0%));
    z-index: 2;
  
  }

  .legend-hilight-outside-defined {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color: #fffb00;  /* Circle's fill color */
    border: 3px solid #080707; 
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;
  
  }


  .hilight-quad-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    overflow: visible;
}

.hilight-quad-defined::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    top: 50%; /* Center the circle vertically */
    left: 50%; /* Center the circle horizontally */
    width: var(--circle-size); /* Circle size */
    height: var(--circle-size); /* Circle size */
    border: 5px solid #fff; 
    border-radius: 50%; /* Makes the shape a circle */
    transform:translate(calc(100%), calc(100%));   /* Offset by 50% of its own size to truly center */
    z-index: 2;
}
.legend-hilight-quad-defined {
  content: ''; /* Required for pseudo-elements */
  position: absolute;
  width: var(--circle-size); /* Circle size */
    height: var(--circle-size); /* Circle size */
    border: 5px solid #fff; 

  margin-top: -17px;
  margin-left: 20px;
  border-radius: 50%; /* Makes the shape a circle */
  z-index: 2;

}

  .hilight-street-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    overflow: visible;
    }
  
    .hilight-street-defined::before {
      content: '';
      position: absolute;
      top: 50%;
      left: -90px;
      width: 30px; /* Circle width */
      height: 30px; /* Circle height */
      background-color: rgb(255, 0, 0); /* Circle's fill color */
      border-radius: 50%; /* Makes the shape a circle */
      transform: translate(-50%, -50%); /* Center the circle within the inner div */
      z-index: 2;
      outline: 1px solid rgb(252, 252, 255); 
  }
  .legend-hilight-street-defined  {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color:rgb(255, 0, 0); /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }

  .hilight-split-down-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    overflow: visible;
    }
    
    .hilight-split-down-defined::before {
      content: ''; /* Required for pseudo-elements */
      position: absolute;
      top: 50%;
      left: 45px;
      width: 30px; /* Circle width */
      height: 30px; /* Circle height */
      /* /background-color: rgb(146, 235, 158); /* Circle's fill color */
      background-color: rgb(146, 235, 158);
      border-radius: 50%; /* Makes the shape a circle */
      transform: translate(-50%, -50%); /* Center the circle within the inner div */
      z-index: 2;
      outline: 1px solid rgb(252, 252, 255); 
  
  }
  .legend-hilight-split-down-defined  {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color:rgb(146, 235, 158); /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }

  .hilight-split-across-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    overflow: visible;
    }
    
    .hilight-split-across-defined::before {
      content: ''; /* Required for pseudo-elements */
      position: absolute;
      top: 45px;
      left: -15px;
      width: 30px; /* Circle width */
      height: 30px; /* Circle height */
      /* /background-color: rgb(146, 235, 158); /* Circle's fill color */
      background-color: rgb(146, 235, 158);
      border-radius: 50%; /* Makes the shape a circle */
      transform: translate(-50%, -50%); /* Center the circle within the inner div */
      z-index: 2;
      outline: 1px solid rgb(252, 252, 255); 





    
  }


  .hilight-line-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    overflow: visible;
    }
    
    .hilight-line-defined::before {
    content: '';
    position: absolute;
    top: 45px;
    left: -90px;
    width: 30px; /* Circle width */
    height: 30px; /* Circle height */
    background-color: rgb(72, 41, 248); /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    transform: translate(-50%, -50%); /* Center the circle within the inner div */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }
  .legend-hilight-line-defined  {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color:rgb(72, 41, 248); /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }
  
  .hilight-straight-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */

    }
    
    .hilight-straight-defined::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    top: -20px;
    left: -50px;
    width: 30px; /* Circle width */
    height: 30px; /* Circle height */
    background-color: yellow; /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    transform: translate(-50%, -50%); /* Center the circle within the inner div */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }
  .legend-hilight-straight-defined {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color:yellow; /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }
  .hilight-unique-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */

    }
    
    .hilight-unique-defined::before {


      content: ''; /* Required for pseudo-elements */
      position: absolute;
      top: 20px;
      left: 17px;
      width: 30px; /* Circle width */
      height: 30px; /* Circle height */
      background-color: rgb(250, 63, 219); /* Circle's fill color */
      border-radius: 50%; /* Makes the shape a circle */
      transform: translate(-50%, -50%); /* Center the circle within the inner div */
      z-index: 2;
      outline: 1px solid rgb(252, 252, 255); 
  
  }

  .legend-hilight-unique-defined {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color:rgb(250, 63, 219); /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }

  .hilight-group-defined {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    
    }
    
    .hilight-group-defined::before {

      content: ''; /* Required for pseudo-elements */
      position: absolute;
      top: -20px;
      left: 17px;
      width: 30px; /* Circle width */
      height: 30px; /* Circle height */
      background-color: rgb(30, 255, 0); /* Circle's fill color */
      border-radius: 50%; /* Makes the shape a circle */
      transform: translate(-50%, -50%); /* Center the circle within the inner div */
      z-index: 2;
      outline: 1px solid rgb(252, 252, 255); 
  
  }
 .legend-hilight-group-defined {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color:rgb(30, 255, 0); /* Circle's fill color */
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;
    outline: 1px solid rgb(252, 252, 255); 
  
  }
  .hilight-outside-pattern {
    position: relative; /* Required for the absolute positioning of the pseudo-element */
    }
    
    .hilight-outside-pattern::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    top: 0px; /* Center the circle vertically */
    left: 55px; /* Center the circle horizontally */
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    background-color: rgb(71, 48, 68);  /* Circle's fill color */
    border: 3px solid rgb(227, 236, 228); 
    border-radius: 50%; /* Makes the shape a circle */
  
  }

  .legend-hilight-outside-pattern {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    width:  30px;/* Half the width of the parent element */
    height:  30px; /* Half the height of the parent element */
    margin-top: -17px;
    margin-left: 20px;
    background-color: rgb(71, 48, 68);  /* Circle's fill color */
    border: 3px solid rgb(227, 236, 228); 
    border-radius: 50%; /* Makes the shape a circle */
    z-index: 2;

  
  }
  .legend-shape {
    display: inline-block;
    vertical-align: middle;
}


/*********************************************************************************************

  Start: New Board

/*********************************************************************************************/

:root {
    --circle-size: 20px;
  }
  
  .grid-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px; /* Ensure there's enough room for two-digit numbers */
    min-height: 90px;
    border: 1px solid black;
    background-color: lightgray;
    font-size: '24px';
    color: rgb(255, 255, 255);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Covers the full area of the parent cell */
    height: 100%; /* Covers the full area of the parent cell */
    background-color: rgba(255, 255, 255, 0); /* Transparent */
    z-index: 3; /* Make sure it's on top */
    cursor: pointer; /* Indicates it's clickable */
}
#gridContainer {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 0px;
  width: 100%;
  max-width: 800px; 
}

.cellQuad {
  content: ''; /* Required for pseudo-elements */
  position: absolute;
  top: 103px; /* Center the circle vertically */
  left: 124px; /* Center the circle horizontally */
  width:  var(--circle-size); /* Half the width of the parent element */
  height:  var(--circle-size); /* Half the height of the parent element */
  /*background-color: rgb(166, 168, 12) ;  /* Circle's fill color */
  border: 3px solid #fff; 
  border-radius: 50%; /* Makes the shape a circle */
  z-index: 2;
}

.cellStraight{
  content: ''; /* Required for pseudo-elements */
  position: absolute;
  top: 10px; /* Center the circle vertically */
  left: 10px; /* Center the circle horizontally */
  width:  var(--circle-size); /* Half the width of the parent element */
  height:  var(--circle-size); /* Half the height of the parent element */
  background-color: yellow; /* Circle's fill color */
  border: 3px solid rgb(227, 236, 228); 
  border-radius: 50%; /* Makes the shape a circle */
  z-index: 2;
}
.cellSplitDown {
  content: ''; /* Required for pseudo-elements */
  position: absolute;
  top: 50px; /* Center the circle vertically */
  left: -9px; /* Center the circle horizontally */
  width: 15px; /* Half the width of the parent element */
  height: 15px; /* Half the height of the parent element */
  background-color: rgb(146, 235, 158);   /* Circle's fill color */
  border-radius: 50%; /* Makes the shape a circle */
  z-index: 2;
}

.cellUnique {
  content: ''; /* Required for pseudo-elements */
  position: absolute;
  top: 10px; /* Center the circle vertically */
  left: 40px; /* Center the circle horizontally */
  width:  var(--circle-size); /* Half the width of the parent element */
  height:  var(--circle-size); /* Half the height of the parent element */
  background-color: rgb(250, 63, 219); /* Circle's fill color */
  border: 3px solid rgb(227, 236, 228); 
  border-radius: 50%; /* Makes the shape a circle */
  z-index: 2;
}

.single-digit {
  padding-left: 0.5em; /* Adjust this value to align the single digit properly */
}
/*********************************************************************************************

  End: New Board

/*********************************************************************************************/

#desktopLink {
  display: inline;
}

#desktopLink a {
  display: inline;
}

.label-sleeper-chart {
  width: auto; /* Adjust width as needed */
  height: auto;
  border: 1px solid black;
  display: flex;
  justify-content: left;
  align-items: left;
  font-size: 35px;
  padding: 5px;
}

.data-sleeper-chart {
  width: auto; /* Adjust width as needed */
  height: auto;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: left;
  font-size: 35px;
  padding: 5px;
}

.row-sleeper-chart {
  display: flex;
  flex-direction: row;
  justify-content: flex-start; /* Change from space-around to flex-start */
  
}

#sleeper-chart {
  display: flex;
  flex-direction: column;
  margin-left: 20px;

}
/*********************************************************************************************
/* Toggle Slider
/*********************************************************************************************/
.slider-container {
  position: relative;
}

.slider-checkbox {
  display: none;
}

.slider-label {
  display: block;
  width: 60px;
  height: 30px;
  background-color: #ccc;
  border-radius: 15px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

.slider-label .slider-button {
  display: block;
  width: 26px;
  height: 26px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-checkbox:checked + .slider-label {
  background-color: #4caf50;
}

.slider-checkbox:checked + .slider-label .slider-button {
  left: 32px;
}

.sleeper-highlights {
  position: relative; /* Required for the absolute positioning of the pseudo-element */
  
  }

.sleeper-highlights::before{

  content: ''; /* Required for pseudo-elements */
  position: absolute;
  top: 10px; /* Center the circle vertically */
  left: 10px; /* Center the circle horizontally */
  width:  var(--circle-size); /* Half the width of the parent element */
  height:  var(--circle-size); /* Half the height of the parent element */
  background-color: rgb(56, 232, 255); /* Circle's fill color */
  border: 3px solid rgb(227, 236, 228); 
  border-radius: 50%; /* Makes the shape a circle */
  z-index: 2;

}
.legend-sleeper-highlights::before{

  content: ''; /* Required for pseudo-elements */
  position: absolute;
  width:  30px;/* Half the width of the parent element */
  height:  30px; /* Half the height of the parent element */
  margin-top: -17px;
  margin-left: 20px;
  background-color:rgb(56, 232, 255); /* Circle's fill color */
  border-radius: 50%; /* Makes the shape a circle */
  z-index: 2;
  outline: 1px solid rgb(252, 252, 255); 

}

.button-bar-content-stats > div {
  display: none;
}
.active {
  display: block;
}
.statistics-buttons{
	margin-left: 25px;
}
.statistics {
  display: grid;
  grid-template-columns: repeat(6, auto);
  grid-template-rows: auto auto;
  gap: 5px 10px;
  font-family: Arial, sans-serif;
  padding: 5px;
  border: 1px solid #ccc;
  max-width: auto; 
  margin-left: 25px; 
  margin-right: 0; 
margin-top: 1px; 
margin-bottom: 5px; 
  padding-left: 20px; 
  
}
.stat-item {
text-align: left;
font-size: 1.7em;
}
.low_stat { grid-area: 1 / 1; }
.even_stat { grid-area: 1 / 2; }
.red_stat { grid-area: 1 / 3; }
.dozen1_stat { grid-area: 1 / 4; }
.dozen2_stat { grid-area: 1 / 5; }
.dozen3_stat { grid-area: 1 / 6; }
.input_stat { grid-area: 1 / 7; }
.high_stat { grid-area: 2 / 1; }
.odd_stat { grid-area: 2 / 2; }
.black_stat { grid-area: 2 / 3; }
.row1_stat { grid-area: 2 / 4; }
.row2_stat { grid-area: 2 / 5; }
.row3_stat { grid-area: 2 / 6; }
.statistics.hidden-border {
  border: none;
}

#spins{font-size:60px!important;color:blue!important;}

/*******************************************************************************************
/ START: API
/*******************************************************************************************/
.api-button{
	width: 50px;
	height: 30px;

}
.api-button-bet-list {


	margin: 5px;
  background-color: rgb(175, 250, 175);

  }

.api-button-bet-list.active {
	background-color: #80e27e;
}


.header-api {
  font-family: Arial, sans-serif;
  text-align: center;
  margin-top: 20px;
}

.label-api {
  font-family: Arial, sans-serif;
  margin-right: 10px;
}

.dropdown-api {
  font-family: Arial, sans-serif;
  padding: 5px;
  margin: 10px 0;
}

.results-container-api {
  margin-top: -2px; /* Last value used */
  margin-left: 5px; /* Last value used */
  text-align: left; /* Last value used */
}

.refresh-button-api {
  padding: 5px 10px;
  font-family: Arial, sans-serif;
  margin-bottom: -5px; /* Last value used */
  text-align: left;
  margin-left: 370px; /* Last value used */
  margin-top: 10px; /* Added in the later declaration */
}

.roulette-results-api {
  margin-top: 20px;
  font-family: Arial, sans-serif;
  text-align: left; /* Last value used */
  margin-left: 15px; /* Last value used */
}

.roulette-number-api {
  display: inline-block;
  margin: 5px; /* Last value used */
  padding: 3px; /* Adjust padding for smaller circles */
  width: 25px; /* Last value used */
  height: 25px; /* Last value used */
  border-radius: 50%; /* Create a perfect circle */
  font-size: 12px; /* Last value used */
  font-weight: bold;
  line-height: 25px; /* Last value used */
  text-align: center; /* Center-align text horizontally */
  color: white;
  background-color: gray; /* Last value used */
  border: 2px solid transparent; /* Transparent border to prevent shifting */
  transition: border-color 0.2s, background-color 0.2s; /* Smooth hover effect */
}

.roulette-number-api:hover {
  border-color: yellow; /* Highlight border */
  background-color: lightyellow; /* Optional: Highlight background */
}

.red-api {
  background-color: red;
}

.black-api {
  background-color: black;
}

.green-api {
  background-color: green;
}

.green-arrow {
  color: green;
  font-size: 3em; /* Last value used */
  margin-left: 0px; /* Last value used */
  font-weight: bold;
  position: relative;
  top: 20px; /* Last value used */
}

.red-api-highlight {
  border: 2px solid rgb(255, 0, 0); /* Highlight border */
  box-shadow: 0 0 10px rgb(255, 102, 0); /* Optional glow effect */
  background-color: rgb(251, 255, 0); /* Last value used */
  color: rgb(255, 0, 0); /* Last value used */
}

.black-api-highlight {
  border: 2px solid black; /* Highlight border */
  box-shadow: 0 0 10px rgb(255, 102, 0); /* Optional glow effect */
  background-color: rgb(251, 255, 0); /* Last value used */
  color: black; /* Last value used */
}

.green-api-highlight {
  border: 2px solid green; /* Highlight border */
  box-shadow: 0 0 10px rgb(255, 102, 0); /* Optional glow effect */
  background-color: rgb(251, 255, 0); /* Last value used */
  color: green; /* Last value used */
}


/*******************************************************************************************
/ END: API
/*******************************************************************************************/


#countdownBtn {

	position: absolute;
	width: 150px;
	height: 30px;
	margin: 5px;

    transition: background-color 0.3s;


  }
  
  #countdownBtn.running {
    background-color: #ff9800; /* Orange when finished */
  }
.auto-active {
  background-color: #2ecc71 !important; /* green */
  color: #fff !important;
  border-color: #1f9e52 !important;
}
/* Normal button look */
#countdownBtn {
  background-color: #eee;
  color: black;
  border: 2px solid black;
}

/* Active/green when auto is running */
#countdownBtn.auto-active {
  background-color: #2ecc71; /* green */
  color: white;
  border-color: #1f9e52;
}



.dealer-signature-button {
    min-width: 200px;
    height: 70px;

    margin: 5px 0 5px 10px;

    font-size: 28px;
    padding: 0 30px;

    border-radius: 10px;
    border: 2px solid black;

    background-color: #eee;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    user-select: none;
}

.dealer-signature-button.active {
    background-color: #80e27e;
}

/* 📱 MOBILE BOOST */
@media (max-width: 768px) {
    .dealer-signature-button {
        width: 100%;              /* full width */
        min-width: unset;         /* remove fixed limit */
        height: 90px;             /* bigger tap area */
        font-size: 36px;          /* larger text */
        margin: 10px 0;           /* cleaner spacing */
        padding: 0;               /* center nicely */
    }
}