* {
  box-sizing: border-box;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}

.uid-card-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* Hide real radio button */
.uid-card input {
    position: absolute;
    opacity: 0;
}

/* Card */
.uid-card {
    cursor: pointer;
    display: block;
}

.card-content {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: 0.2s;
}

/* Logo */
.card-content img {
    max-width: 70px;
    margin-bottom: 10px;
}

/* Title */
.card-title {
    font-weight: bold;
    font-size: 14px;
}

/* Hover effect */
.uid-card:hover .card-content {
    border-color: #2163BA;
}

/* Selected state */
.uid-card input:checked + .card-content {
    border-color: #2163BA;
    background: #eef4ff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Optional: checkmark */
.uid-card input:checked + .card-content::after {
    content: "?";
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 16px;
    color: #2163BA;
}

  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
  }
  
  /* Target elements with orange backgrounds (e.g., Bar Bingo, Testing) */
[style*="background-color: #F5B027"], 
.fc-event-orange, .bg-orange {
    color: #000000 !important;
}

/* Target elements with yellow backgrounds  */
[style*="background-color: #F1FA5A"], 
.fc-event-yellow, .bg-yellow {
    color: #000000 !important;
}

/* Target elements with green backgrounds (e.g., Queen of Hearts) */
[style*="background-color: #00FF00"], 
[style*="background-color: lime"],
.fc-event-green, .bg-green {
    color: #000000 !important;
}

  .grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }

  .box {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
  }

  /* Color styles */
  .public { background: #F1FA5A; color: #000; }
  .post { background: #F5B027; color: #000; }
  .vets { background: #00FF00; color: #000; }
  .aux { background: #FF0000; color: #FFF; }
  .sons { background: #0000FF; color: #FFF; }
  .riders { background: #000000; color: #FFF; }
  .private { background: #B271C7; color: #FFF; }

  /* Responsive behavior */
  @media (max-width: 800px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 500px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }


body {
  background-color: #FFFFFF;
  margin: 0;
}

.navtop {
  background-color: #2f3742;
  height: 60px;
  width: 100%;
  border: 0;
}
.navtop div {
  display: flex;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  padding: 0 10px;
  height: 100%;
}
.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}
.navtop div h1 {
  flex: 1;
  font-size: 22px;
  padding: 0;
  margin: 0;
  color: #eaebec;
  font-weight: normal;
}
.navtop div a {
  padding: 0 20px;
  text-decoration: none;
  color: #c1c3c6;
  font-weight: bold;
}
.navtop div a i {
  padding: 2px 8px 0 0;
}
.navtop div a:hover {
  color: #eaebec;
}

.content {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 10px;
}
.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  border-bottom: 1px solid #ebebeb;
  color: #666666;
}