/* Thank-you message styling */
.thank-you-message {
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb; /* Light green border */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.thank-you-message h3 {
    margin: 0;
    font-weight: bold;
}

#countdown-timer {
    font-size: 16px;
    color: #333;
}

/* Checkbox and radio button inline styling */
.checkbox-group, .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between options */
}

.jo-form-container .checkbox-inline, .jo-form-container .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: normal;
}

/* General form field styling */
.jo-html-field {
    margin-top: 10px;
}

.jo-form-container label {
  font-weight: 600;
}

/* Enhanced error message styling */
.error-message {
    background-color: #f8d7da; /* Light red background */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb; /* Light red border */
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    margin-top: 5px;
    display: none; /* Hidden by default */
    position: relative;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

.error-message::before {
    content: '⚠'; /* Warning icon */
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.show-field {
    display: block !important;
}

.hide-field {
    display: none !important;
}