

table {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Regular weight */
    font-size: 12px; /* Standard font size for readability */
    line-height: 1.2; /* Good line spacing for readability */
    color: #333; /* Dark grey text for better contrast */ 
   
}



.merkez {
  text-align: center;
}

.sagda {
    text-align: right;
}

.minigri    { 
    font-size: 10px;
    color: #999;
    font-style: italic;
 }



/* Style the tab */
  .tab button {
    background-color: #5a6478;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 16px;
    transition: 0.3s;
    font-size: 14px;
    color: white;
    margin-right: 5px;
    white-space: nowrap;         /* Prevents text wrapping */
    overflow: hidden;            /* Hides overflowed text */
    text-overflow: ellipsis;     /* Shows ellipsis (...) for truncated text */
    max-width: 250px;            /* Set a max width for truncation */

    border-bottom-left-radius: 0%;
    border-bottom-right-radius: 0%;
}

  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #1f8fcf;
    color: white;
  }

  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #d9534f;
    font-style: bold;
    color: white;
  }

  .tabcontent {
    display: none;
    padding: 0px;
    border: 1px solid #887777;
  }
  .race-row {
    display: flex;
    justify-content: flex-start; /* Align to the left */
    flex-wrap: wrap; /* Allow wrapping to new rows if needed */

}
.race-col {
  flex: 1 1 120px; /* Allow it to grow and shrink with a base width of 120px */
  max-width: 100%; /* Ensure it doesn't grow beyond the parent */
  border: 1px solid lightgray;
  border-radius: 8px;
  padding: 5px;
  margin-right: 5px;
  overflow: hidden; /* Trim overflowing content */
  white-space: nowrap; /* Prevent text wrapping */
  text-overflow: ellipsis; /* Add '...' for trimmed text */
  box-sizing: border-box; /* Include padding and border in width calculations */
}



.kupon-col {
  flex: 0 0 180px; /* Fixed width for each column */ 
  margin-right: 10px;
  margin-bottom: 10px;
  overflow: hidden; /* To trim text if needed */ 
  text-overflow: ellipsis; /* Trim text if too long */
}
.race-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid lightgray;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 50%;
  height: 10px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #04AA6D;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #04AA6D;
  cursor: pointer;
}

.scrollable-container {
  overflow-x: auto; /* Enable horizontal scrolling */
  white-space: nowrap; /* Prevent wrapping */ 
}



/* KUPON */
.kupon-container {
  width:  220px;
  margin: auto;
  background-color: #f8f9fa;
  padding: 5px;
  padding-top: 15px;
  border-radius: 0px;
  border : 0px solid lightgray;
  box-shadow: 0;
}

.horse-selection {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 10px;
}

.race-column {
  text-align: center;
  font-size: 12px;
}

.race-column h4 {
  margin-bottom: 5px;
  font-size: 14px;
}

.horse-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.horse-grid button {
  width: 25px;
  height: 25px;
  padding: 0;
  font-size: 12px;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
}

.selected {
  background-color: #28a745 !important;
  color: #fff;
}

.bet-summary {
  margin-top: 10px;
  font-size: 12px;
}

#submitBtn {
  width: 100%;
  font-size: 14px;
  padding: 5px;
}