html {
  position: relative;
  min-height: 100%;
  
}

body{
  background-color: #f4f9f4; /* 淺綠色底色 (Light green base color) */
    background-image: radial-gradient(#e0ece4 1px, transparent 1px); /* 製作圓點 (Creates the dots) */
    background-size: 20px 20px; /* 設定圓點間距 (Sets the spacing between dots) */
}


.banner {
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
}



@media (min-width: 576px) {
  .container-fluid .row {
    max-width: 500px;
    margin: 0 auto;
  }

  .banner,
  .container,
  footer {
    max-width: 500px;
  }
}

.contestant-card {
  border: 4px solid #d8f3dc;
  border-radius: 15px;
  background: #fff;
  padding: 30px 20px;
  /* 恢復內距 */
  margin-bottom: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);

}

.contestant-info {
  padding: 0;
  /* 移除額外內距 */
}

.song-title {
  color: #2d6a4f;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contestant-name {
  color: #555;
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.contestant-dept {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
}


.btn-vote {
  background-color: #2d6a4f;
  border-color: #2d6a4f;
  color: white;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 12px;
  transition: all 0.3s;
  letter-spacing: 2px;
}

.btn-vote:hover {
  background-color: #1b4332;
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 5px 15px rgba(27, 67, 50, 0.3);
}


/* Modal Styles */
.modal-content {
  border-radius: 20px;
  border: none;
}

.success-icon {
  font-size: 4rem;
  color: #40916c;
  margin-bottom: 10px;
}

.fail-icon {
  font-size: 4rem;
  color: #dc3545;
  margin-bottom: 10px;
}

.warning-icon {
  font-size: 4rem;
  color: #ffc107;
  margin-bottom: 10px;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  background-color: #d8f3dc;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}
