/* --- General body --- */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: url("image/TAF-LOGO-Final.png.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #fff5f0;
  padding: 30px;
  color: #333;
}

/* --- Language selector --- */
.language-selector {
  margin-bottom: 25px;
  text-align: right;
}

.language-selector select {
  padding: 6px 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ff9800;
  background-color: #fff3e0;
  color: #ff6f00;
}

/* --- Form container --- */
form {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: auto;
}

/* --- Section titles --- */
.section-title {
  font-weight: bold;
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #ff6f00;
  border-bottom: 2px solid #ffe0b2;
  padding-bottom: 5px;
}
.radio-group {
  display: flex;       /* Align children in a row */
  gap: 10px;           /* Optional: spacing between options */
  flex-wrap: wrap;     /* Optional: wrap to next line if needed */
}

.radio-group label {
  display: flex;       /* Keeps input and text together */
  align-items: center; /* Vertically center text with radio */
}


/* --- Question --- */
.question {
  margin-bottom: 20px;
}

.question label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

/* --- Rating buttons horizontal --- */
.rating-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.rating-group label {
  flex: 1;
  text-align: center;
  cursor: pointer;
  padding: 10px 0;
  border: 2px solid #ff9800;
  border-radius: 8px;
  background-color: #fff3e0;
  color: #ff6f00;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.2s ease-in-out;
}

.rating-group input[type="radio"] {
  display: none;
}

.rating-group input[type="radio"]:checked + label {
  background-color: #ff6f00;
  color: #fff;
  transform: scale(1.05);
}

.rating-group label:hover {
  background-color: #ff9800;
  color: #fff;
}

/* --- Textarea --- */
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ffcc80;
  resize: vertical;
  font-size: 16px;
}

/* --- Submit button --- */
button[type="submit"] {
  padding: 12px 25px;
  font-size: 18px;
  background-color: #ff6f00;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #e65c00;
}
.scale-info {
  display: flex;            /* horizontal layout */
  justify-content: space-between; /* spread evenly */
  margin: 11px 0;
  font-size: 14px;
  background: #f4f6f8;
  padding: 8px 12px;
  border-left: 4px solid #ff7300;
}

.scale-info span {
  text-align: center;      /* center each label above its column */
  flex: 1;                 /* equal width for each */
}
