/* MomoZone Franchise Inquiry Form styles */

.franchise-card {
	max-width: 860px;
	width: 100%;
	margin: 2rem auto;
	background: #ffffff;
	border-radius: 48px 48px 40px 40px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
}

.franchise-card * {
	box-sizing: border-box;
}

.franchise-card .form-header {
	background: #00733C;
	padding: 1.8rem 2.5rem 1.5rem 2.5rem;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.franchise-card .form-header h1 {
	font-weight: 600;
	font-size: 2rem;
	letter-spacing: -0.02em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: #fff;
}

.franchise-card .form-header h1 i {
	font-size: 2rem;
	color: #fcd34d;
}

.franchise-card .form-header .subhead {
	margin-left: auto;
	font-weight: 300;
	font-size: 1rem;
	opacity: 0.9;
	background: rgba(255, 255, 255, 0.15);
	padding: 0.3rem 1rem;
	border-radius: 40px;
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	gap: 6px;
}

.franchise-card .form-body {
	padding: 2.5rem 2.5rem 2.8rem;
}

.franchise-card .mff-notice {
	margin-bottom: 1.5rem;
	padding: 0.9rem 1.4rem;
	border-radius: 16px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
}

.franchise-card .mff-notice-success {
	background: #d4edda;
	color: #155724;
}

.franchise-card .mff-notice-error {
	background: #f8d7da;
	color: #721c24;
}

.franchise-card .intro-text {
	margin-bottom: 2rem;
	border-left: 4px solid #00733C;
	background: #fcf8f6;
	border-radius: 0 12px 12px 0;
	padding: 1rem 1.5rem;
}

.franchise-card .intro-text p {
	font-size: 1.05rem;
	color: #2d1f1a;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

.franchise-card .intro-text i {
	color: #00733C;
	margin-right: 6px;
}

.franchise-card .form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 1.8rem;
}

.franchise-card .full-width {
	grid-column: 1 / -1;
}

.franchise-card .field-group {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.franchise-card .field-group label {
	font-weight: 500;
	font-size: 0.9rem;
	color: #2c1e1a;
	letter-spacing: 0.01em;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.franchise-card .field-group label i {
	color: #00733C;
	width: 1.2rem;
	font-size: 0.95rem;
}

.franchise-card .field-group label .required {
	color: #c72a3a;
	font-weight: 700;
	margin-left: 2px;
}

.franchise-card .field-group input,
.franchise-card .field-group select,
.franchise-card .field-group textarea {
	background: #f9f6f3;
	border: 1px solid #e5dbd5;
	border-radius: 18px;
	padding: 0.75rem 1.2rem;
	font-size: 0.95rem;
	transition: 0.15s ease;
	outline: none;
	width: 100%;
	color: #1e1511;
	font-weight: 400;
}

.franchise-card .field-group input:focus,
.franchise-card .field-group select:focus,
.franchise-card .field-group textarea:focus {
	border-color: #00733C;
	box-shadow: 0 0 0 4px rgba(166, 28, 44, 0.12);
	background: #ffffff;
}

.franchise-card .field-group textarea {
	resize: vertical;
	min-height: 100px;
	border-radius: 20px;
}

.franchise-card .inline-hint {
	font-size: 0.75rem;
	color: #7f6b61;
	margin-top: 2px;
	padding-left: 0.5rem;
}

.franchise-card .checkbox-group {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-top: 0.4rem;
}

.franchise-card .checkbox-group label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
	font-size: 0.95rem;
	color: #2c1e1a;
	background: #f6f0eb;
	padding: 0.4rem 1rem 0.4rem 0.8rem;
	border-radius: 40px;
	border: 1px solid #e4d6ce;
}

.franchise-card .checkbox-group input[type="checkbox"] {
	accent-color: #00733C;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
}

.franchise-card .mff-terms-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
}

.franchise-card .mff-terms-label input[type="checkbox"] {
	accent-color: #00733C;
	width: 1.1rem;
	height: 1.1rem;
}

.franchise-card .action-section {
	margin-top: 2.2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	border-top: 1px solid #e8dbd3;
	padding-top: 2rem;
}

.franchise-card .btn-submit {
	background: #00733C;
	color: #fff;
	border: none;
	padding: 0.9rem 2.8rem;
	border-radius: 60px;
	font-weight: 600;
	font-size: 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: 0.15s ease;
	box-shadow: 0 8px 16px -6px rgba(166, 28, 44, 0.3);
}

.franchise-card .btn-submit:hover {
	background: #871826;
	transform: scale(1.01);
	box-shadow: 0 12px 24px -8px rgba(166, 28, 44, 0.4);
}

.franchise-card .btn-submit:active {
	transform: scale(0.96);
}

.franchise-card .form-footnote {
	color: #5c4a40;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.franchise-card .form-footnote i {
	color: #00733C;
}

.franchise-card .field-group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c4a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.2rem center;
	background-size: 1.1rem;
	padding-right: 2.8rem;
}

@media (max-width: 720px) {
	.franchise-card .form-grid {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}
	.franchise-card .form-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.3rem;
		padding: 1.5rem 1.5rem 1rem;
	}
	.franchise-card .form-header .subhead {
		margin-left: 0;
		font-size: 0.9rem;
	}
	.franchise-card .form-body {
		padding: 1.8rem 1.5rem;
	}
	.franchise-card .action-section {
		flex-direction: column;
		align-items: stretch;
	}
	.franchise-card .btn-submit {
		justify-content: center;
	}
	.franchise-card .checkbox-group {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 450px) {
	.franchise-card .form-header h1 {
		font-size: 1.6rem;
	}
	.franchise-card .intro-text p {
		font-size: 0.95rem;
	}
}

/* Verify / search page (used by [momozone_verify]) */
.mff-verify-form {
	max-width: 420px;
	margin: 1.5rem auto;
	padding: 0 1rem;
}
.mff-verify-form .field-group {
	margin-bottom: 1rem;
}
.mff-result-card {
	max-width: 460px;
	margin: 1rem auto 2rem;
	padding: 1.4rem 1.6rem;
	border: 1px solid #eadfe0;
	border-radius: 20px;
	background: #fffaf9;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.mff-result-meta {
	list-style: none;
	padding: 0;
	margin: 0.6rem 0 1rem;
}
.mff-result-meta li {
	margin-bottom: 0.35rem;
	font-size: 0.95rem;
}
.mff-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 0.85em;
	background: #fff6e0;
	color: #a67c00;
}
.mff-status-verified {
	background: #eaf7ee;
	color: #1f8a3d;
}
