/* === Section Title Styling === */
.webform-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #234990;
  padding: 0.75rem 1rem;
  border-left: 8px solid #ffd600;
  border-radius: 6px;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* === Section Block Wrapper === */
.webform-section-wrapper {
  background: #f9fafe;
  border: 1px solid #e1e7f2;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(35,73,144,0.06);
}

/* === Form Labels === */
label {
  font-weight: 600;
  color: #234990;
  font-size: 1rem;
}

/* === Form Fields === */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  border: 1px solid #cfd6e6;
  border-radius: 5px;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  background-color: #ffffff;
  color: #234990;
  transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #234990;
  box-shadow: 0 0 0 2px rgba(35, 73, 144, 0.15);
  outline: none;
}

/* === Submit Button === */
input[type="submit"],
button[type="submit"] {
  background-color: #234990;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  transition: background-color 0.25s;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background-color: #ffd600;
  color: #234990;
}

/* === Hide unwanted elements === */
#edit-hidden-container-01 {
  display: none !important;
}

/* === Optional: Add a background to entire form === */
.webform-submission-form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(35, 73, 144, 0.06);
}

/* General button style */
.webform-options-display-buttons-label {
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  border: 2px solid transparent;
  min-width: 120px; /* Keeps all buttons even width */
}

/* 1 - Very Poor (Red) */
.webform-options-display-buttons-wrapper:nth-child(1) .webform-options-display-buttons-label {
  background-color: #e74c3c; /* Red */
  color: #fff; /* White text for contrast */
}

/* 2 - Poor (Orange) */
.webform-options-display-buttons-wrapper:nth-child(2) .webform-options-display-buttons-label {
  background-color: #e67e22; /* Orange */
  color: #fff;
}

/* 3 - Average (Yellow) */
.webform-options-display-buttons-wrapper:nth-child(3) .webform-options-display-buttons-label {
  background-color: #f1c40f; /* Yellow */
  color: #000; /* Black text for readability */
}

/* 4 - Good (Light Green) */
.webform-options-display-buttons-wrapper:nth-child(4) .webform-options-display-buttons-label {
  background-color: #2ecc71; /* Light Green */
  color: #fff;
}

/* 5 - Excellent (Dark Green) */
.webform-options-display-buttons-wrapper:nth-child(5) .webform-options-display-buttons-label {
  background-color: #27ae60; /* Dark Green */
  color: #fff;
}

/* Highlight selected button */
.webform-options-display-buttons-wrapper input[type="radio"]:checked + .webform-options-display-buttons-label {
  border-color: #000; /* Strong border when selected */
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  transform: scale(1.05); /* Slight pop effect */
}
