@font-face {
    font-family: avenir;
    src: url("fonts/Avenir.ttc");
  }

  @font-face {
    font-family: avenir-black;
    src: url("fonts/AvenirLTStd-Heavy.otf");
  }


  body {
      position: relative;
      background-image: url(imgs/dark-bg.webp);
      background-size: cover;
      font-family: avenir;
      background-repeat: no-repeat;
      background-attachment: fixed;
  }
  
  body.modal-open {
    overflow: hidden;
}
  
  .bold,
  b {
      font-family: avenir-black!important;
   
  }

  #loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
}



@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.hidden {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.visible {
    opacity: 1;
}
.fade-text {
    opacity: 0;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}


.spinner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 50px;  /* Padding to give space inside the modal */
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #21B535; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-bottom: 20px; /* Space between spinner and text */
    margin: 30px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

  
  .transparent-bg {
      z-index: 1;
      background-color: #000;
      background: rgba(0, 0, 0, 0.2);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: 1px solid rgba(0, 0, 0, 0.3);
      /* From https://css.glass */
      border-radius: 16px;
      border: 1px solid rgba(0, 0, 0, 0.3);
  }
  
  strong {
    font-family: avenir-black!important;
  }
  
  form {
      width: 50%;
      margin: 0 auto;
  }
  
  @media (max-width:993px) {
      form {
          width: 100%;
          margin: 0 auto;
      }
  }

  #resetButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #21B535; /* Button background color */
    color: white;
    border:1px solid #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    width: 200px;
    letter-spacing: 1px;
}

#resetButton img {
    margin-right: 10px; /* Space between icon and text */
    fill:#fff;
}

#resetButton:hover {
    transform: scale(1.03);
}
  
  .step {
      display: none;
      position: relative;
      width: 90%;
      background-color: #000;
      background: rgba(0, 0, 0, 0.2);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: 1px solid rgba(0, 0, 0, 0.3);
      border-radius: 16px;
      padding:30px 30px;
      margin-top: 50px;
  
      h2 {
        font-family: avenir-black!important;
          text-align: center;
          margin-bottom: 20px;
          color: #fff!important;
      }
  
      /* box-shadow: 3px 3px 10px #ccc; */
  
      opacity: 0;
      transition: opacity 0.5s ease;
  }
  
  
  /* .white-bg {
      background-color: #ffffff;
      border-radius: 15px;
      padding: 30px 30px 30px 30px;
  } */
  
  .fade-in {
      display: block;
      opacity: 1;
  }
  
  /* Fade-out animation */
  .fade-out {
      opacity: 0;
  }
  
  input {
      padding: 8px;
      width: 100%;
      border-radius: 4px;
      border: 1px solid #ccc;
      display: flex;
  }
  
  .radio-group {
      display: flex;
      align-items: center;
      gap: 10px;
      justify-content: center;
      /* Add spacing between input and label */
  }
  
  
  
  .radio-group label {
      margin-bottom: 0px !important;
      color:#fff;
  }
  
  .radio-div {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      cursor: pointer;
      text-align: center;
      user-select: none;
      transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  input[type="radio"]:checked+label.radio-div {
      background-color: #21B535;
      color: white;
      border-color: #1F8943;
  }
  
  button {
      background-color: #000;
      color: #fff;
      border: none;
      border-radius: 6.25rem;
      cursor: pointer;
      margin-top: 35px;
      width: 100%;
      font-weight: bold;
      line-height: 1.5rem;
      font-size: 1rem;
      height: 3.25rem;
      transition: 0.3s;
  }
  
  button:focus{
      outline:none;
  }
  button[disabled] {
  /* background-color: #272727;     */
  opacity: 0.8;
  cursor: not-allowed;
  }
  
  button:not([disabled]):hover{
      background-color: rgb(12, 31, 28);
      transition:  0.3s;
      font-size:1.1rem;
  }
  
  .back{
      background-color:transparent;
      color: #fff;
      border: 0.5px solid #fff;
      border-radius: 6.25rem;
      cursor: pointer;
      margin-top: 15px;
      width: 100%;
      font-weight: normal!important;
      line-height: 1.5rem;
      font-size: 1rem;
      height: 3rem;
      transition: 0.3s;
  }
  
  .back:hover{
      background-color: transparent!important;
      transition:  0.3s;
      font-size:1.05rem; 
  }
  
  
  
  
  #otherInput {
      display: none;
      /* Hide the input field by default */
      margin-top: 10px;
  }
  
  /* Style the table */
  /* Base styles for the table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 18px;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

/* Make the table scrollable on smaller screens */
.table-container {
    width: 100%;
    
    margin: 20px 0;
}


table th,
table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    color:#000;
}

table th {
    background-color: #21B535;
    color: #ffffff;
    text-transform: uppercase;
}

table tr {
    border-bottom: 1px solid #ddd;
    background-color: #fff;

}

table tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

table tr:last-of-type {
    border-bottom: 2px solid #009879;
}


/* Media query to adjust styles for mobile devices */
@media (max-width: 600px) {
    table {
        font-size: 16px; /* Adjust font size for smaller screens */
        min-width: 100%; /* Remove min-width restriction on small screens */
    }
    
    th, td {
        padding: 10px;  /* Adjust padding for smaller devices */
    }

    /* Optional: Make text wrap for narrow columns */
    td {
        word-wrap: break-word;
    }
}

  

  .result {
  
      h2,
      p,
      ul li {
          font-weight: bold;
          text-align: left;
          margin-bottom: 20px;
          color: #fff!important;
          font-family: avenir;
      }
  }
  
  .prev{
      background-color: transparent;
      margin-top: 0px;
      width:auto;
      outline: none;
      transition:all 0.3s;
  }
  
  .prev:hover{
      background-color: transparent!important;
      transform: scale(1.03);
      transition: 0.3s all;
      color:#fff;
  }
  
  /* Container for the progress bar */
  .progress-container {
      width: 100%;
      background-color: #f3f3f3;
      height: 4px;
      overflow: hidden;
  }
  
  /* Progress bar itself */
  .progress-bar {
      height: 100%;
      width: 0;
      background-color: #4caf50;
      transition: width 0.5s ease; /* Smooth transition for progress bar */
  }
  
  .arrow-form{
      width:25px;
      margin-right:5px;
      margin-bottom:2px;
  }
  
  #zipError, #dateError, #otherError ,#zipSuccess{
      margin-top: 10px;
      margin-bottom: 0px;
  }



  .lottery-item{
    background-color: #fff;
    margin-bottom: 35px;
    border-radius: 25px;
    color:#000;
    justify-content: center;
    text-align: center;
    p{
        margin-bottom: 0px;
        font-weight: bold;
    }
    a{
        color: #fff;
        font-weight: 600;
        font-size: 18px;
        text-transform: uppercase;
    }
}

.space{
    padding:30px 0px;
    font-size: 20px;
}
.action-col{
    background-color: #21B535;
    align-self:auto;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
.modal {
display: none;
position: fixed;
z-index: 1;
padding: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
background-color: #fefefe;
margin: auto;
padding: 40px;
border: 1px solid #888;
width:950px;
border-radius: 25px;
text-align: center;
overflow-x: auto;
}

.close {
color: #aaa;
position: absolute;
right:15px;
top:10px;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.multiplier{
    font-size:25px;
    font-weight:900;
    color: #21B535;
}

.bar-container {
    width: 100%;
    position: relative;
}

.bar {
    background-color: #21B535;  
    text-align: right;  
    padding-right: 5px; 
    line-height: 20px; 
    color: white; 
    min-width: 2%;
}


.smart-pick-number, .last-draw-number, .special_ball, .table-ball{
font-size:18px;
font-family: avenir-black!important;
border-radius: 50%;
background: rgb(255,255,255);
background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(170,170,170,1) 100%);
background: -webkit-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(170,170,170,1) 100%);
background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(170,170,170,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#aaaaaa",GradientType=1);
outline:none;
margin-bottom: 5px;
display: inline-block;
width: 40px;        /* Set width */
height:40px;       /* Set height (equal to width for a perfect circle) */
line-height: 41px;
border:solid 1px #aaa;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
text-align: center;
}

.smart-pick-number-last{
    background: red;
    color: #fff;
}

.hot{
 font-family: avenir-black!important;
 color:red;
}

.no-bullet li{
    list-style-type: none ;
}

.no-bullet{
    padding: 0;
}

.table-ball{
height: 35px;
width:35px;
padding: 0px;
margin-top:6px;
line-height: 35px;
}

.special-table-ball{
    background: #21B535;
    color: #fff;
}

.special_ball{
    background: #21B535;
    color: #fff;
}

.locationBox{
    width: 70%;
    margin:0px auto;
    background-color: #000;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid #fff;
    border-radius: 16px;
    padding:50px 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;

    hr.dashed{
        border-top: 2px dashed #aaa;
        margin:30px 30px; 
    }

    p{
        margin-bottom: 0px;
    }
    
    .small-text{
        font-size: 13px;
        font-style: italic;
    }

    h1{
        font-size: 35px;
        font-family: avenir-black!important;
    }

    ul{ display: flex;
        list-style-type: none;
        padding: 0px;
        margin-bottom: 0px;
        justify-content: center;
        flex-wrap: wrap;
        li{
            margin:0px 10px;
        }
    }
}



.name{
    margin-bottom: 5px;
}
.date-border{
border-left: 1px solid #000;
border-right: 1px solid #000;
}

.lottery_image img:nth-child(2) {
    width: 50px!important;
}

.state_img{
    background-image: url('./imgs/route.svg');
    position: absolute;
    background-repeat: no-repeat;
    font-size:25px;
    font-family: avenir-black;
    padding: 10px;
    margin-top: 10px;
    color:#000;
    line-height: normal;
    background-position: center;
}

/* Styling the container if necessary */
.select-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Base styles for the select dropdown */
#stateFilter {
    appearance: none; /* Removes default arrow for cross-browser compatibility */
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    width: 100%;
    max-width: 400px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none; /* Remove blue border when focused */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Styling the hover effect */
#stateFilter:hover {
    background-color: #eaeaea;
}

/* Focus effect */
#stateFilter:focus {
    border-color: #21B535;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

/* Custom arrow using a pseudo-element */
.select-container {
    position: relative;
    display: inline-block;
    width: 220px;
}

.select-container::after {
    content: '\25BC'; /* Down arrow Unicode */
    position: absolute;
    top: 50%;
    right: 20px; /* Adjust the position to move the arrow away from the text */
    transform: translateY(-50%);
    pointer-events: none; /* Make sure the arrow isn't clickable */
    color: #21B535;
    font-size: 14px; /* Adjust the size for better appearance */
}

/* Make sure it's disabled on mobile for better UX */
#stateFilter:disabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}



.numbers{
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
    text-align: center; 
}
@media (max-width:993px){

    .date-border{
        border: none;
        }
    .modal{
        padding: 20px;
    }
    .modal-content{
      width: auto;
      padding: 15px;
      padding-top:30px;
    }

    .lottery-item {
        gap:20px;
        padding-top:20px;
    }

    .locationBox{
        width:100%;
    }
    .action-col{
    border-radius: 0px 0px 25px 25px;
    }
    .space{
        padding:0px;
        
    }
    .no-bullet li{
        text-align: left;
    }
    #resetButton{
        img{
            margin: 0px;
        }
        width: 50px;
    }

    .state_img{
        margin-top: 15px;
    }
}