/**
 * Styles for CF7 validation message and disabled submit button
 */
 .awsm-form-group select:disabled {
  display: none;
}

.awsm-form-group select:disabled + br,
.awsm-form-group select:disabled + br + .wpcf7-form-control-wrap,
.awsm-form-group select:disabled + br + .wpcf7-form-control-wrap + label {
  display: none;
}

/* Or, more effectively — hide the entire form group if the select inside is disabled */
.awsm-form-group:has(select:disabled) {
  display: none;
}
.areawise-validation-message {
  background-color: #fff8e5;
  border-left: 4px solid #ffb900;
  padding: 12px 15px;
  margin: 15px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 3px;
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.disabled-submit-button {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Add a warning icon to the validation message */
.areawise-validation-message:before {
  content: "\26A0";  /* Unicode warning symbol */
  margin-right: 8px;
  color: #ffb900;
  font-weight: bold;
  font-size: 16px;
}

/* Style for when validation passes */
.validation-passed .wpcf7-submit {
  animation: submitReady 0.5s ease-in-out;
  background-color: #4caf50 !important;
  color: white !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
  transition: all 0.3s ease !important;
}

.validation-passed .wpcf7-submit:hover {
  background-color: #45a049 !important;
  box-shadow: 0 3px 7px rgba(0,0,0,0.3) !important;
  transform: translateY(-1px) !important;
}

@keyframes submitReady {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive styles */
@media (max-width: 768px) {
  .areawise-validation-message {
    padding: 10px 12px;
    font-size: 13px;
  }
} 