/**
 * COA Centers - Franchise Inquiry Form Styles
 *
 * Styles for the [coa_franchise_form] shortcode
 */

.coaFranchiseForm {
	max-width: 700px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Header */
.coaFranchiseFormHeader {
	text-align: center;
	margin-bottom: 40px;
}

.coaFranchiseFormTitle {
	font-size: 42px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 16px;
	line-height: 1.2;
}

.coaFranchiseFormSubtitle {
	font-size: 18px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
	margin: 0;
}

/* Form Sections */
.coaFranchiseForm .coaFormSection {
	margin-bottom: 24px;
}

/* Labels */
.coaFranchiseForm label {
	display: block;
	font-size: 14px;
	font-weight: 400;
	margin-bottom: 8px;
	color: #ffffff;
}

.coaFranchiseForm .coaFormRequired {
	color: #C41E7A;
}

/* Form Row (two columns) */
.coaFranchiseForm .coaFormRow {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.coaFranchiseForm .coaFormRow:last-child {
	margin-bottom: 0;
}

.coaFranchiseForm .coaFormRow > .coaFormField {
	margin-bottom: 0;
}

@media screen and (max-width: 600px) {
	.coaFranchiseForm .coaFormRow {
		grid-template-columns: 1fr;
	}

	.coaFranchiseFormTitle {
		font-size: 32px;
	}

	.coaFranchiseFormSubtitle {
		font-size: 16px;
	}
}

/* Form Field */
.coaFranchiseForm .coaFormField {
	margin-bottom: 16px;
}

.coaFranchiseForm .coaFormField:last-child {
	margin-bottom: 0;
}

/* Inputs */
.coaFranchiseForm input[type="text"],
.coaFranchiseForm input[type="email"],
.coaFranchiseForm input[type="tel"] {
	width: 100%;
	padding: 14px 20px;
	background: #19546A;
	border: 1px solid #1A5060;
	border-radius: 50px;
	font-family: inherit;
	font-size: 15px;
	color: #ffffff;
	transition: border-color 0.2s, background-color 0.2s;
}

.coaFranchiseForm input[type="text"]:focus,
.coaFranchiseForm input[type="email"]:focus,
.coaFranchiseForm input[type="tel"]:focus {
	outline: none;
	border-color: #2A6070;
	background: #154555;
}

.coaFranchiseForm input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

/* Textarea */
.coaFranchiseForm textarea {
	width: 100%;
	padding: 14px 20px;
	background: #19546A;
	border: 1px solid #1A5060;
	border-radius: 16px;
	font-family: inherit;
	font-size: 15px;
	color: #ffffff;
	resize: vertical;
	min-height: 180px;
	transition: border-color 0.2s, background-color 0.2s;
}

.coaFranchiseForm textarea:focus {
	outline: none;
	border-color: #2A6070;
	background: #154555;
}

.coaFranchiseForm textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

/* Checkbox Container */
.coaFranchiseForm .coaCheckboxContainer {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.coaFranchiseForm .coaCheckboxContainer input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #C41E7A;
	cursor: pointer;
}

.coaFranchiseForm .coaCheckboxContainer span {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.coaFranchiseForm .coaCheckboxContainer a {
	color: #ffffff;
	text-decoration: underline;
}

.coaFranchiseForm .coaCheckboxContainer a:hover {
	color: #C41E7A;
}

/* Submit Section */
.coaFranchiseForm .coaFormSubmitSection {
	text-align: center;
	margin-top: 32px;
}

.coaFranchiseForm .coaFormSubmitBtn {
	display: inline-block;
	padding: 14px 48px;
	background: #C41E7A;
	border: none;
	border-radius: 50px;
	color: #ffffff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}

.coaFranchiseForm .coaFormSubmitBtn:hover {
	background: #A31866;
}

.coaFranchiseForm .coaFormSubmitBtn:active {
	transform: scale(0.98);
}

.coaFranchiseForm .coaFormSubmitBtn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Status Messages */
.coaFranchiseForm .coaFormStatus {
	text-align: center;
	padding: 16px;
	border-radius: 8px;
	margin-top: 16px;
	display: none;
}

.coaFranchiseForm .coaFormStatus.coaFormStatusSuccess {
	display: block;
	background: rgba(40, 167, 69, 0.2);
	border: 1px solid #28a745;
	color: #28a745;
}

.coaFranchiseForm .coaFormStatus.coaFormStatusError {
	display: block;
	background: rgba(220, 53, 69, 0.2);
	border: 1px solid #dc3545;
	color: #dc3545;
}

.coaFranchiseForm .coaFormStatus.coaFormStatusLoading {
	display: block;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid #1A5060;
	color: #ffffff;
}
