/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  background: linear-gradient(135deg, #f0fdf9 0%, #dcfce7 100%);
  color: #111827;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  /* max-width: 600px; */
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: #e74c3c;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #e74c3c;
}

p {
  margin-bottom: 2rem;
  color: #4b5563;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #c0392b;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

/* Star Rating System */
.rating-group {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
}

.rating input {
  display: none;
}

.rating label {
  display: inline-block;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: #e2e8f0;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  color: #374151;
  transition: all 0.2s ease;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
  background-color: #e74c3c;
  color: white;
}

.rating-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #c0392b;
}

/* Message Styles */
#message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  text-align: center;
}

.success {
  background-color: rgba(52, 211, 153, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e74c3c;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #e74c3c;
  text-decoration: underline;
}

.copyright-container {
  color: #e74c3c;
  font-size: 0.7rem;
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  .rating {
    justify-content: center;
  }
  
  .rating-labels {
    padding: 0 0.5rem;
  }
}