/* ==========================================================================
   Client Support Form — Institute Botanica style theme
   ========================================================================== */

.csf-wrapper {
	max-width: 900px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #333;
}

/* ---------- Intro block ---------- */
.csf-intro {
	margin-bottom: 30px;
}

.csf-intro-top {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.csf-intro-text {
	flex: 1 1 380px;
	min-width: 280px;
}

.csf-brand-logo {
	width: 46px;
	height: 46px;
	object-fit: contain;
	margin-bottom: 6px;
}

.csf-brand-name {
	font-size: 11px;
	letter-spacing: 1.5px;
	color: #7a8a7f;
	font-weight: 600;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.csf-main-title {
	font-size: 30px;
	color: #16342a;
	margin: 0 0 14px 0;
	font-weight: 700;
}

.csf-intro-copy p {
	font-size: 13.5px;
	line-height: 1.6;
	color: #444;
	margin: 0 0 10px 0;
}

.csf-intro-copy a {
	color: #1c5c3d;
	font-weight: 600;
	text-decoration: none;
}

.csf-intro-copy a:hover {
	text-decoration: underline;
}

.csf-intro-image {
	flex: 1 1 320px;
	max-width: 380px;
}

.csf-intro-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.csf-checklist {
	list-style: none;
	margin: 0 0 16px 0;
	padding: 0;
}

.csf-checklist li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	font-size: 13px;
	line-height: 1.6;
	color: #333;
}

.csf-checklist li::before {
	content: "\2714";
	position: absolute;
	left: 0;
	top: 0;
	color: #2f8f52;
	font-weight: 700;
	font-size: 13px;
}

.csf-contact-line {
	font-size: 13px;
	color: #333;
	margin-top: 14px;
}

.csf-contact-line a {
	color: #1c5c3d;
	font-weight: 600;
}

/* ---------- Message banner ---------- */
.csf-message {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 16px;
	font-weight: 600;
	font-size: 13px;
}

.csf-message.csf-success {
	background: #e6f4ea;
	color: #1e7e34;
	border: 1px solid #1e7e34;
}

.csf-message.csf-error {
	background: #fbeaea;
	color: #d63638;
	border: 1px solid #d63638;
}

/* ---------- Form card ---------- */
.csf-form-card {
	background: #eae7de;
	border-radius: 6px;
	padding: 28px 26px;
}

.csf-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
}

.csf-col-6,
.csf-col-12 {
	padding: 0 8px;
	margin-bottom: 14px;
	box-sizing: border-box;
}

.csf-col-6 {
	flex: 0 0 50%;
	max-width: 50%;
}

.csf-col-12 {
	flex: 0 0 100%;
	max-width: 100%;
}

@media (max-width: 700px) {
	.csf-col-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.csf-intro-top {
		flex-direction: column;
	}
}

.csf-form-card label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.csf-form-card input[type="text"],
.csf-form-card input[type="email"],
.csf-form-card input[type="password"],
.csf-form-card input[type="tel"],
.csf-form-card input[type="number"],
.csf-form-card select,
.csf-form-card textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d7d3c7;
	border-radius: 3px;
	background: #fff;
	font-size: 13px;
	box-sizing: border-box;
	font-family: inherit;
}

.csf-form-card input:focus,
.csf-form-card select:focus,
.csf-form-card textarea:focus {
	outline: none;
	border-color: #2f8f52;
	box-shadow: 0 0 0 2px rgba(47, 143, 82, 0.15);
}

.csf-form-card textarea {
	min-height: 90px;
	resize: vertical;
}

.csf-section-title {
	font-size: 18px;
	color: #16342a;
	margin: 10px 0 4px 0;
	font-weight: 700;
}

.csf-hint {
	font-size: 12px;
	color: #666;
	margin: 0 0 10px 0;
}

.csf-sub-q {
	font-size: 12.5px;
	color: #333;
	margin: 10px 0 6px 0;
	font-weight: 600;
}

/* ---------- Diagnosis checkbox list ---------- */
.csf-diagnosis-list {
	background: #f3f1ea;
	border: 1px solid #e0ddd2;
	border-radius: 4px;
	padding: 14px 16px;
}

.csf-diag-item {
	margin-bottom: 4px;
}

.csf-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 400;
	color: #333;
	cursor: pointer;
	margin-bottom: 6px;
}

.csf-checkbox-label input[type="checkbox"] {
	width: 15px;
	height: 15px;
	accent-color: #2f8f52;
	margin: 0;
}

.csf-diag-details {
	margin: 4px 0 10px 23px;
	width: calc(100% - 23px);
}

/* ---------- Radio rows ---------- */
.csf-radio-row {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 4px;
}

.csf-radio-row label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 400;
	color: #333;
	margin-bottom: 0;
	cursor: pointer;
}

.csf-radio-row input[type="radio"] {
	accent-color: #2f8f52;
	width: 15px;
	height: 15px;
	margin: 0;
}

/* ---------- Password field with eye toggle ---------- */
.csf-password-wrap {
	position: relative;
}

.csf-toggle-pass {
	position: absolute;
	right: 20px;
	top: 12px;
	cursor: pointer;
	font-size: 14px;
	opacity: 0.6;
	user-select: none;
}

/* ---------- Price field ---------- */
.csf-price-field {
	position: relative;
}

.csf-price-prefix {
	position: absolute;
	left: 12px;
	top: 10px;
	color: #666;
	font-size: 13px;
}

.csf-price-field input {
	padding-left: 24px !important;
	background: #f1eee5;
	color: #666;
}

/* ---------- Agree row ---------- */
.csf-agree-row .csf-checkbox-label {
	font-weight: 600;
}

.csf-fineprint {
	font-size: 11px;
	color: #777;
	line-height: 1.5;
	margin-top: 8px;
}

/* ---------- Error states ---------- */
.csf-error-field {
	border-color: #d63638 !important;
}

.csf-err,
.csf-field-error {
	color: #d63638;
	font-size: 11.5px;
	margin-top: 4px;
	min-height: 0;
}

/* ---------- Submit button ---------- */
.csf-submit-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 26px;
	background: #4d5b62;
	color: #fff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

.csf-submit-button:hover {
	background: #3e4a50;
}

.csf-submit-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.csf-btn-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid #fff;
	border-radius: 50%;
	font-size: 12px;
	line-height: 1;
}

.ui-datepicker {
	font-size: 13px;
	z-index: 9999 !important;
}
