body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #262626;
    margin: 0;
    padding: 0px
}

.site-header {
    padding: 20px 20px;
    color: #fff;
    background-color: #111;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000
}

  #waustat-wrapper {
    display: none !important;
  }

.header-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between
}

.site-name {
    font-size: 26px;
    font-weight: bold;
    color: #22c55e
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #111;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
    margin-top: 20px;
    margin-bottom: 20px
}

.banner {
    text-align: center;
    margin-left: -250px;
    margin-bottom: 15px
}

.banner h1 {
    font-size: 32px;
    color: white
}

.header h1 {
    margin: 0;
    font-size: 26px
}

.subtext {
    color: white;
    font-size: 14px
}

.agenda-date {
    background-color: #444;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 74.5%;
    border: 1px solid #555;
}

.search-box {
    position: relative;
    margin-bottom: 20px
}

.search-box input {
    width: 71.8%;
    padding: 10px 40px 10px 14px;
    border-radius: 8px;
    font-size: 15px;
    background-color: #1f1f1f;
    border: 1px solid #2c2c2c;
    color: white
}

.search-box .icon {
    position: absolute;
    right: 295px;
    top: 48%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: white;
    pointer-events: none
}

.match-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1f1f1f;
    padding: 15px 16px;
    margin: 12px 0;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #2c2c2c;
    width: 90%;
}

.match-box:hover {
    background-color: #2a2a2a
}

.match-info {
    display: flex;
    align-items: center;
    gap: 10px
}

.match-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    color: white
}

.match-league {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white
}

.match-time {
    background: #444;
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid #555
}


.sidebar {
width: 160px;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    align-self: flex-start;
    margin-top: -450px;
}



/* Mobile Responsive CSS */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-name {
    font-size: 22px;
  }

  .container {
    width: 90%;
    margin: 10px auto;
    padding: 15px;
  }

  .agenda-date {
    width: 90%;
    font-size: 14px;
    padding: 10px;
  }

  .search-box input {
    width: 80%;
    padding: 10px 40px 10px 14px;
  }

  .search-box .icon {
    right: 15px;
    top: 50%;
  }

  .match-box {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 12px;
    gap: 8px;
    margin-top: 50px;
    width: 282px;
    margin-bottom: -40px;
  }

  .match-info {
    gap: 8px;
  }

  .match-info img {
    width: 28px;
    height: 28px;
  }

  .match-league {
    font-size: 14px;
  }

  .match-time {
    font-size: 12px;
    padding: 5px 10px;
  }

  .sidebar {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    border-radius: 8px;
    margin-left: -330px;
    height: 100%;
  }

}
@media (max-width: 768px) {
  /* Parent container with inline flex */
  div[style*="display: flex"] {
    flex-direction: column !important;  /* stack vertically */
    align-items: flex-start !important; /* align left */
    gap: 20px !important;
  }

  #matches {
    width: 100% !important;
    flex: none !important;  /* disable flex-grow */
  }

  .sidebar {
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    position: static !important;
    height: auto !important;
    z-index: auto !important;
  }
}

@media (max-width: 600px) {
    .banner h1 {
        font-size: 24px; /* smaller font on mobile */
    }

    .banner {
        margin-left: 0;  /* remove negative margin */
        padding: 0 10px;
    }
}
