/* Style for date inputs and select dropdown */
input[type="date"],
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    appearance: none;
    -webkit-appearance: none;
}

/* Hover + focus */
input[type="date"]:focus,
select:focus {
    border-color: #4A7BF7;
    box-shadow: 0 0 0 3px rgba(74, 123, 247, 0.3);
    outline: none;
}

/* To unify style with your textarea */
textarea {
    border-radius: 6px;
}

/* Optional: Add custom arrow for select */
select {
    background-image: url("data:image/svg+xml,%3Csvg fill='none' height='20' width='20' viewBox='0 0 20 20' stroke='%23666'%3E%3Cpath d='M6 8l4 4 4-4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #006c32 0%, #006c32 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.header {
  background: white;
  padding: 40px 40px 0 40px;
  text-align: center;
  color: black;
}

.header img {
  max-width: 250px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.header h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.form-content {
  padding: 40px;
}

.section-title {
  color: #4CAF50;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #4CAF50;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 35px;
}

.form-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.form-hint {
  display: block;
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 15px;
}

textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox-item,
.radio-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
}

.checkbox-item:hover,
.radio-item:hover {
  border-color: #4CAF50;
  background: #f1f8f4;
  transform: translateX(5px);
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  cursor: pointer;
  accent-color: #4CAF50;
}

.checkbox-item label,
.radio-item label {
  flex: 1;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

.other-input {
  margin-top: 15px;
  display: none;
}

.other-input.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.submit-container {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.submit-btn {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.submit-btn:active {
  transform: translateY(0);
}

.rating-descriptions {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid #4CAF50;
}

.rating-descriptions p {
  margin: 8px 0;
  font-size: 15px;
  color: #555;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-direction: row-reverse;
}

.star-rating input {
  display: none;
}

.star-rating label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.star-rating label svg {
  width: 60px;
  height: 60px;
  stroke-width: 2;
  transition: all 0.3s ease;
  fill: #e0e0e0;
  stroke: #bdbdbd;
}

.star-rating label span {
  font-size: 18px;
  font-weight: 600;
  color: #666;
}

.star-rating label:hover svg,
.star-rating input:checked ~ label svg {
  fill: #4CAF50;
  stroke: #45a049;
  transform: scale(1.1);
}

.star-rating label:hover ~ label svg {
  fill: #4CAF50;
  stroke: #45a049;
}

.star-rating label:hover span,
.star-rating input:checked ~ label span,
.star-rating label:hover ~ label span {
  color: #4CAF50;
}

@media (max-width: 768px) {
  .container {
    border-radius: 0;
  }

  .header {
    padding: 30px 20px;
  }

  .header h1 {
    font-size: 22px;
    font-color: Black;
  }

  .form-content {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .star-rating {
    gap: 15px;
  }

  .star-rating label svg {
    width: 50px;
    height: 50px;
  }

  .star-rating label span {
    font-size: 16px;
  }
}