.ttsd-form-title {
	text-align: center;
	margin-bottom: 0;
}

form.ttsd-form {
	margin-top: 2rem;
	border: 1px solid #00774a;
	border-radius: 0.5rem;
	overflow: hidden;
}

form.ttsd-form .form-row+p {
	margin-top: 1rem;
	font-weight: 700;
}

form.ttsd-form span.check-all {
	font-weight: 400;
	font-size: 0.9em;
}

/* Section styling */
.ttsd-custom-form .form-section {
	padding: 2rem 1rem 3rem;
	background-color: #dff0d8;
	margin-bottom: 1rem;
}

.ttsd-custom-form .form-section:last-child {
	margin-bottom: 0;
}

.ttsd-custom-form .form-section h3 {
	margin: 0 0 1rem 0;
}

/* Row styling */
.ttsd-custom-form .form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
}

/* Column styling */
.ttsd-custom-form .form-column {
	flex: 1;
	min-width: 200px;
	display: flex;
	gap: 1rem;
}

.form-column.form-column--min {
	max-width: 200px;
	min-width: 120px;
}

.form-column.form-column--mini {
	max-width: 120px;
	min-width: 80px;
}

/* Label Styling */
label.required-label::after {
	content: '*';
	color: #dc3232;
	margin-left: 2px;
}

/* Field styling */
.ttsd-custom-form .form-field {
	width: 100%;
	padding: 0;
	margin-bottom: 2rem;
	position: relative;
}

.ttsd-custom-form .form-row:last-child .form-field {
	margin-bottom: 0;
}

.ttsd-custom-form .form-field input:not([type="radio"]):not([type="checkbox"]),
.ttsd-custom-form .form-field select,
.ttsd-custom-form .form-field textarea {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	transition: border-color 0.3s;
}

.ttsd-custom-form .form-field input:focus,
.ttsd-custom-form .form-field select:focus,
.ttsd-custom-form .form-field textarea:focus {
	border-color: #00774a;
	outline: none;
}

.ttsd-custom-form .form-field label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #333;
}

.ttsd-custom-form .form-field label .helper-text {
	font-weight: 400;
	font-size: 0.9em;
	color: #666;
	font-style: italic;
}

/* Service day selector styles */
.service-day-selector,
.service-day-display {
	margin-top: 1rem;
	animation: fadeIn 0.3s ease-in;
}

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

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.service-days-info {
	background-color: #fff;
	padding: 1rem;
	border-radius: 4px;
	border-left: 4px solid #00774a;
	margin: 0;
}

/* Form actions */
.form-actions {
	text-align: center;
	padding: 2rem 1rem;
}

.ttsd-submit-btn {
	background-color: #00774a;
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 4px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
}

.ttsd-submit-btn:hover {
	background-color: #005a37;
}

.ttsd-submit-btn:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.submit-helper-text {
	margin-top: 0.75rem;
	font-size: 0.9em;
	color: #666;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* Form response messages */
.form-response {
	padding: 1rem;
	margin-top: 1rem;
	border-radius: 4px;
	text-align: center;
}

.form-response.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-response.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Focused and dirty states */
.form-field.is-focused label {
	color: #00774a;
}

.form-field.is-dirty input,
.form-field.is-dirty select,
.form-field.is-dirty textarea {
	border-color: #00774a;
}

/* Responsive design */
@media (max-width: 768px) {
	.ttsd-custom-form .form-column {
		min-width: 100%;
	}

	.form-column.form-column--min,
	.form-column.form-column--mini {
		max-width: 100%;
	}
}