/* Complaint Form Styles */
#complaint-form-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.form-section {
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.form-section h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.2em;
    color: #333;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="url"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-row textarea {
    height: 120px;
}

.checkbox-group,
.radio-group {
    margin-top: 5px;
}

.checkbox-item,
.radio-item {
    margin-bottom: 8px;
}

.checkbox-item label,
.radio-item label {
    display: inline;
    font-weight: normal;
    margin-left: 5px;
}

.checkbox-item input[type="text"] {
    display: block;
    margin-top: 5px;
    margin-left: 25px;
    width: calc(100% - 25px);
}

.required {
    color: #e53935;
}

.form-submit {
    margin-top: 20px;
    text-align: center;
}

.submit-button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #005d8c;
}


#math-captcha {
    font-size: 16px;
    padding: 8px;
    width: 120px;
    text-align: center;
}

/* Make the CAPTCHA field stand out a bit */
.form-section:has(#math-captcha) {
    background-color: #f9f9f9;
    border-left: 3px solid #0073aa;
}
.complaint-form-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}