fieldset {
    background-color: #eee;
    padding: 5px;
    border: 1px solid #ccc;
}

legend {
    background-color: #f93;
    border: 1px solid #f00;
    padding: 4px 7px;
    font-weight: bold;
}

section {
    max-width: 610px;
    margin: auto;
}

.voteTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
}

.voteTable td {
    padding: 6px;
    vertical-align: top;
}

.voteTable img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: transform .25s ease, border .25s;
}

.voteTable img:hover {
    border: 2px solid red;
    transform: scale(1.03);
}

/* Radio buttons centered */
.voteTable input[type="radio"] {
    margin-top: 6px;
    width: 16px;
    height: 16px;
}

.modalZoom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modalZoom img {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid #fff;
    border-radius: 10px;
}

.closeZoom {
    position: fixed;
    top: 20px;
    right: 35px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
}

@media(max-width: 768px) {
    section { max-width: 95%; }
    .voteTable img {
        width: 100%;
        height: auto;
    }
}

.voteTable td {
    text-align: center;
    vertical-align: middle;
}

/* Modern Month Bar (Toggle) */
.monthToggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ff6b4a;
  color: white;
  padding: 14px 18px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.2s;
  text-align: left;
}

/* Hover Style */
.monthToggle:hover {
  background: #ff765e;
  transform: translateY(-2px);
}

/* Left text & calendar icon */
.monthToggle span {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Arrow Icon Right */
.monthToggle::after {
  content: "▼";
  transition: 0.3s;
  font-size: 18px;
  margin-left: 10px;
}

/* When Open = Rotate Arrow */
.toggleActive::after {
  transform: rotate(-180deg);
}

/* Hidden Content Container */
.hiddenWinners {
  display: none;
  padding: 10px 0 20px;
  margin-bottom: 15px;
}

/* Box underneath collapsible reveal */
.hiddenWinners table {
  width: 100%;
}

