:root {
  --ring-color: #806600;
  --pink-bg: #ef82b0;
  --gold-bg: #bea968;
  --text-highlight: #ffde59;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.background {
  background-image: url('../images/bandhancover6.png');
  background-size: cover;
  background-position: center;

  height: 100%;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  transition: opacity 1s ease-in-out;
}
#announcement-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 50%; /* start from center */
  width: 0;
  z-index: 999999;
  background-color: rgba(255, 243, 248, 0.85);
  color: #b30059;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 500;
  border-bottom: 1px solid #ffb3c6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 10px 16px;
  overflow: hidden;
  transform: translateX(-50%);
  animation: expandWidth 2.5s ease-out forwards;
}

@keyframes expandWidth {
  0% {
    width: 0;
    opacity: 0;
  }
  30% {
    opacity: 0.4;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

#announcement-message {
  flex: 1;
  padding-right: 12px;
}

#announcement-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #b30059;
  cursor: pointer;
  padding: 6px 10px;
  margin-left: 8px;
  transition: background 0.2s ease;
}

#announcement-close:hover {
  background-color: rgba(255, 192, 203, 0.3);
  border-radius: 4px;
}



#login-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000; /* Make sure this is higher than your header */
  display: none;
}


.login-alert-box {
  background: #fff3cd;
  color: #856404;
  padding: 16px 24px;
  border-left: 6px solid #ffc107;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.close-alert {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #856404;
}

.alert-card {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 12px 16px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-family: 'Segoe UI', sans-serif;
}
.alert-card button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Filter Bar */
.filters {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(239, 130, 176, 0.6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  padding: 15px;
  box-sizing: border-box;
  z-index: 100;
  gap: 15px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 140px;
  width: 100%;
}

.filter-group label {
  font-size: 14px;
  color: white;
  margin-bottom: 5px;
}

.filter-group select,
.filter-group input {
  padding: 8px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  height: 34px;
}

.age-row {
  display: flex;
  gap: 15px;
}

.filters button {
  height: 34px;
  padding: 0 16px;
  background-color: var(--ring-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  align-self: flex-end;
  margin-top: 24px;
  transition: background-color 0.3s, transform 0.2s;
}

.filters button:hover {
  background-color: var(--gold-bg);
  color: var(--text-highlight);
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .background {
    background-image: url('../images/bandhancover6.png');
    background-position: top center;
  }
}

.alert-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff3cd;
  color: #856404;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
  display: none;
  text-align: center;
}
.alert-box button {
  margin-top: 10px;
  background-color: #ffc107;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}


/* Responsive Styles */
@media (max-width: 600px) {
  .filters {
    flex-direction: column;
    align-items: center;
  }

  .age-row {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }

  .filter-group {
    flex: 1 1 45%;
    max-width: 140px;
  }

  .filters button {
    align-self: center;
    width: 140px;
    height: 42px;
    margin-top: 10px;
  }
  #unread-badge {
  background: #ff4d4d;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: 4px;
  display: none;
}

}
#email-verification-alert {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: auto;
  max-width: 90%;
}

.login-alert-box {
  position: relative;
  padding: 20px 40px 20px 20px; /* extra right padding for close button */
  background-color: #fff8f0;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.alert-message {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.verify-button {
  background-color: #b30059;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

@media (max-width: 600px) {
  #email-verification-alert {
    left: 0;
    transform: none;
    width: 100%;
    top: 10%;
    padding: 0 10px;
  }

  .login-alert-box {
    border-radius: 0;
    box-shadow: none;
  }
}
