/* Fonts & Reset */
body {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  margin: 0;
  background-color: #f7fafc; /* light gray */
  color: #333;
}

h1, h2, label, .btn {
  font-weight: 600; /* SemiBold */
  margin: 0;
}

/* Utility */
.hidden {
  display: none;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

/* Top Bar */
.topbar {
  background-color: #205B41;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Auth Section */
.auth-section label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.auth-section input[type="text"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.auth-section input[type="text"]:focus {
  outline: none;
  border-color: #205B41;
  box-shadow: 0 0 5px #205B41;
}

.error-message {
  color: #dc2626; /* red */
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Buttons General */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.25s ease;
  text-decoration: none;
  color: inherit;
  border: none;
  box-sizing: border-box;
  box-shadow: 0 4px 6px rgba(32, 91, 65, 0.5);
}

.btn i {
  margin-right: 0.6rem;
  font-size: 1.3rem;
  line-height: 1;
  vertical-align: middle;
}

/* Green Button */
.btn-green {
  background-color: #205B41;
  color: white;
}

.btn-green:hover,
.btn-green:focus {
  background-color: #18432c;
  outline: none;
}

/* Pink Button */
.btn-pink {
  background-color: #FFB4E5;
  color: #205B41;
  box-shadow: 0 4px 6px rgba(255, 180, 229, 0.5);
}

.btn-pink:hover,
.btn-pink:focus {
  background-color: #ff8fcd;
  outline: none;
}

/* Main Content */
.main-content h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.main-content p {
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Paragraph specific */
.paragraph {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Button grid */
.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Responsive for smaller screens */
@media (max-width: 480px) {
  .button-grid {
    grid-template-columns: 1fr;
  }
}

.notification-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center; /* center buttons horizontally */
}
/* Styles for Form Dropdowns */
.styled-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--brand-white);
  color: var(--brand-bg);
  border: 2px solid var(--brand-bg);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-family: 'Nunito Sans', sans-serif;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.styled-select:focus {
  outline: none;
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 3px rgba(255, 180, 229, 0.4);
}

.styled-select option {
  color: var(--brand-bg);
}
.event {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
}

.event-actions {
  margin-top: 0.75rem;
}

.event-actions button {
  background: none;
  border: none;
  color: var(--brand-bg);
  cursor: pointer;
  font-size: 1.1rem;
  margin-right: 0.5rem;
  transition: color 0.2s ease;
}

.event-actions button:hover {
  color: var(--brand-pink);
}
input[type="number"].form-control {
  -moz-appearance: textfield; /* Firefox Text Input*/
}

input[type="number"].form-control::-webkit-inner-spin-button, 
input[type="number"].form-control::-webkit-outer-spin-button { 
  -webkit-appearance: none; /* Chrome, Safari Text Input */
  margin: 0; 
}
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 2rem;
  cursor: pointer;
  margin: 1rem 0;
}

.rating-stars i {
  color: #ccc;
  transition: color 0.2s ease;
}

.rating-stars i.selected {
  color: #f5b301;
}

textarea, select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

#ratingSection .card {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
}
.rating-stars i::before {
  content: "\f005"; /* fa-star unicode */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
