.market {
    margin-bottom: 10px;
    font-family: "Lato", Avenir, Verdana, Nunito, sans-serif !important;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  /* Table Header */
  .tableHeader {
    display: flex;
    margin-bottom: -2px;

    border-bottom: 1px solid #dee2e6;
  }
  
  .tableHeader > div {
    font-family: "Lato", Avenir, Verdana, Nunito, sans-serif !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
    border: 0;
  }
  
  /* Table Body */
  /* .tableBody styles can be added here if needed */
  
  .tableRow {
    display: flex;
    background-color: #fff;
    border-bottom: 1px solid #f2f2f2;
    align-items: center;
    min-height: 44px;
    /* padding: 9px 3px; */
    /* min-height: 50px; */
  }
  
  .tableRow > div {
    border: 0;
  }
  
  /* Box Widths */
  .boxW4 {
    width: 40%;
    min-width: 40%;
    max-width: 40%;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  
  .boxW1 {
    width: 10%;
    min-width: 10%;
    max-width: 10%;
    /* padding: 4px; */
  }
  
  /* Country Name */
  .countryName {
    font-family: "Lato", Avenir, Verdana, Nunito, sans-serif !important;
    font-size: 14px !important;
    text-align: left;
  }
  
  .teamName {
    display: block;
    margin-bottom: 0px !important;
    font-family: "Lato", Avenir, Verdana, Nunito, sans-serif !important;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.2;
  }
  
  .scoreInfo {
    margin: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Float Utilities */
  .floatLeft {
    float: left;
  }
  
  .floatRight {
    float: right;
  }
  
  .textRight {
    text-align: right;
  }
  
  .textUppercase {
    text-transform: uppercase;
  }
  
  .mB0 {
    margin-bottom: 0;
  }
  
  .vM {
    vertical-align: middle;
  }
  
  /* Ladder Icon */
  .ladderIcon {
    width: 10px;
    object-fit: contain;
    /* height: 16px; */
    /* opacity: 0.7; */
  }

/* When there is exposure on Normal market, make ladder icon black */
.ladderHasExposure {
  filter: brightness(0) saturate(100%);
}
  
  /* Bet Buttons */
  .betButton {
    width: 100%;
    /* padding: 8px 4px; */
    border: 1px solid #dee2e6;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    transition: all 0.2s ease;
    font-family: "Lato", Avenir, Verdana, Nunito, sans-serif !important;
    position: relative;
    z-index: 1;
  }
  

  
  .betButton .odd {
    font-weight: bold;
    font-size: 14px;
    color: #1F82D6;

  }
  
  .betButton span:last-child {
    font-size: 10px;
    color: #0f2327;
  }
  
  /* Lay and Back Styling */
  .lay .betButton {
    background-color: #faa9ba;
    color: #1F82D6;

  }
  
  /* .lay .betButton:hover {
    background-color: #f8bbd9;
  }
   */
  .back .betButton {
    background-color: #72bbef;
    color: #1F82D6;

  }
  
  .back .betButton:hover {
    background-color: #90caf9;
  }
  
  /* Min/Max Info */
  .fancyMinMax {
    padding: 4px 8px;
    /* background-color: #f8f9fa; */
    /* border-bottom: 1px solid #f2f2f2; */
    font-family: "Lato", Avenir, Verdana, Nunito, sans-serif !important;
    font-size: 11px;
    color: #666;
    display: flex;
    justify-content: space-between;
  }
  
  .fancyMinMax span {
    font-weight: bold;
    color: #333;
  }
  
  /* Light Background */
  .lightBg {
    background-color: #f8f9fa;
  }
  
  .highlighted {
    background-color: #fff3cd;
  }
  
  /* Hidden Portrait (Mobile) */
  .hiddenPortrait {
    display: block;
  }
  
  /* Responsive Design */
  @media screen and (orientation: portrait) {
    .boxW4 {
      width: 60%;
      min-width: 60%;
      max-width: 60%;
      padding: 2px;
    }
    
    .boxW1 {
      width: 20%;
      min-width: 20%;
      max-width: 20%;
    }
    
    .hiddenPortrait {
      display: none;
    }
    
    .teamName {
      font-size: 12px;
    }
    
    .betButton {
      /* padding: 6px 2px; */
      min-height: 44px;
    }
    
    .betButton .odd {
      font-size: 12px;
    }
    
    .betButton span:last-child {
      font-size: 10px;
      margin-top: -2px !important;
    }
  }
  
  @media (max-width: 768px) {
    /* .market styles can be added here if needed */
    
    .tableHeader > div {
      font-size: 10px;
      padding: 4px 0;
    }
    
    .countryName {
      font-size: 12px !important;
    }
    
    .fancyMinMax {
      font-size: 10px;
      padding: 2px 4px;
    }
  }
  
  /* Active/Selected States */
  .betButton.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
  }
  
  .betButton.disabled {
    cursor: not-allowed;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Keep original colors for disabled buttons */
  .back .betButton.disabled {
    background-color: #72bbef !important;
  }
  
  .lay .betButton.disabled {
    background-color: #faa9ba !important;
  }
  
  .betButton.disabled .odd {
    /* display: none; */
    color: #1e3f5a !important;
    font-size: 12px !important;
  }

  /* Suspended Overlay for Normal and Ball By Ball markets */
  .suspendedtext {
    position: relative;
    pointer-events: none;
  }

  .suspendedtext:after {
    content: attr(data-title);
    text-transform: uppercase;
    color: #1e3f5a !important;
    background: rgba(217, 220, 223);
    position: absolute;
    height: 100%;
    width: 20%;
    left: 60%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: not-allowed;
    pointer-events: none;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 0;
  }

  /* For portrait mode, overlay should cover both BACK and LAY (40% total) */
  @media screen and (orientation: portrait) {
    .suspendedtext:after {
      width: 40%;
      left: 60%;
      font-size: 11px;
    }
  }

  /* Suspended Overlay with Lock Icon for other markets */
  .suspendedlock {
    position: relative;
    pointer-events: none;
  }

  .suspendedlock:after {
    content: "";
    background: rgba(217, 220, 223);
    position: absolute;
    height: 100%;
    width: 20%;
    left: 60%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: not-allowed;
    pointer-events: none;
    z-index: 1;
  }

  .suspendedlock:before {
    content: "";
    background-color: #1e3f5a;
    mask-image: url(../../../assets/img/lock.svg);
    -webkit-mask-image: url(../../../assets/img/lock.svg);
    mask-size: 20px 20px;
    -webkit-mask-size: 20px 20px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 60%;
    width: 20%;
    height: 100%;
    pointer-events: none;
  }

  /* For portrait mode, overlay should cover both BACK and LAY (40% total) */
  @media screen and (orientation: portrait) {
    .suspendedlock:after {
      width: 40%;
      left: 60%;
    }
    
    .suspendedlock:before {
      left: 60%;
      width: 40%;
    }
  }