/* Navico GMB Forms v1.0 — Ahmad Bilal
   Brand: deep purple #1E1656 / accent yellow #FDB813 / orange #F7931E */

.ngf-wrap {
	--ngf-purple: #1E1656;
	--ngf-purple-2: #2D2173;
	--ngf-yellow: #FDB813;
	--ngf-orange: #F7931E;
	--ngf-bg: #ffffff;
	--ngf-line: #E5E1F5;
	--ngf-text: #2b2b3c;
	--ngf-muted: #8a86a5;
	max-width: 760px;
	margin: 0 auto;
	font-family: inherit;
}

.ngf-form {
	background: var(--ngf-bg);
	border: 1px solid var(--ngf-line);
	border-top: 5px solid var(--ngf-yellow);
	border-radius: 18px;
	padding: 34px 30px 30px;
	box-shadow: 0 12px 35px rgba(30, 22, 86, 0.10);
}

/* Header */
.ngf-head { text-align: center; margin-bottom: 26px; }
.ngf-eyebrow {
	display: inline-block;
	color: var(--ngf-orange);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.ngf-title {
	margin: 0;
	color: var(--ngf-purple);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.25;
}
.ngf-sub { color: var(--ngf-muted); font-size: 14px; margin: 8px 0 0; }

/* Honeypot */
.ngf-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

/* Toggle (Form 2) */
.ngf-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 24px;
}
.ngf-toggle-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ngf-toggle-opt span {
	display: block;
	border: 2px solid var(--ngf-line);
	border-radius: 14px;
	padding: 14px 16px;
	cursor: pointer;
	text-align: center;
	transition: all .2s ease;
	background: #faf9ff;
}
.ngf-toggle-opt strong { display: block; color: var(--ngf-purple); font-size: 15px; }
.ngf-toggle-opt small { color: var(--ngf-muted); font-size: 12px; }
.ngf-toggle-opt input:checked + span {
	border-color: var(--ngf-yellow);
	background: linear-gradient(135deg, var(--ngf-purple) 0%, var(--ngf-purple-2) 100%);
	box-shadow: 0 6px 18px rgba(30, 22, 86, 0.25);
}
.ngf-toggle-opt input:checked + span strong { color: var(--ngf-yellow); }
.ngf-toggle-opt input:checked + span small { color: #cfc9ee; }
.ngf-toggle-opt input:focus-visible + span { outline: 3px solid var(--ngf-orange); outline-offset: 2px; }

/* Grid + fields */
.ngf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}
.ngf-full { grid-column: 1 / -1; }

.ngf-field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--ngf-purple);
	margin-bottom: 6px;
}
.ngf-field label em { color: var(--ngf-orange); font-style: normal; }
.ngf-opt { color: var(--ngf-muted); font-weight: 500; font-size: 12px; }

.ngf-field input[type="text"],
.ngf-field input[type="email"],
.ngf-field input[type="tel"],
.ngf-field input[type="url"],
.ngf-field textarea,
.ngf-field select {
	width: 100%;
	box-sizing: border-box;
	border: 1.5px solid var(--ngf-line);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	color: var(--ngf-text);
	background: #fdfcff;
	transition: border-color .2s, box-shadow .2s;
	font-family: inherit;
}
.ngf-field textarea { resize: vertical; }
.ngf-field input:focus,
.ngf-field textarea:focus,
.ngf-field select:focus {
	outline: none;
	border-color: var(--ngf-yellow);
	box-shadow: 0 0 0 3px rgba(253, 184, 19, 0.25);
}
.ngf-field input::placeholder,
.ngf-field textarea::placeholder { color: #b5b1cc; }

.ngf-error { border-color: #e0245e !important; box-shadow: 0 0 0 3px rgba(224, 36, 94, 0.15) !important; }

/* Radios */
.ngf-radios { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 4px 0; }
.ngf-radios label { display: flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ngf-text); font-size: 14px; cursor: pointer; margin: 0; }
.ngf-radios input { accent-color: var(--ngf-orange); width: 16px; height: 16px; }

/* Sections */
.ngf-section { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--ngf-line); }
.ngf-hidden { display: none !important; }

/* Business hours */
.ngf-hours { margin: 20px 0; background: #faf9ff; border: 1px solid var(--ngf-line); border-radius: 14px; padding: 16px 18px; }
.ngf-block-label { font-size: 13px; font-weight: 700; color: var(--ngf-purple); display: block; margin-bottom: 12px; }
.ngf-block-label em { color: var(--ngf-orange); font-style: normal; }
.ngf-hours-row {
	display: grid;
	grid-template-columns: 95px 1fr 28px 1fr 92px;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}
.ngf-day { font-size: 13px; font-weight: 600; color: var(--ngf-text); }
.ngf-to { text-align: center; color: var(--ngf-muted); font-size: 12px; }
.ngf-time {
	border: 1.5px solid var(--ngf-line);
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
	background: #fff;
	color: var(--ngf-text);
	width: 100%;
	box-sizing: border-box;
}
.ngf-closed { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ngf-muted); cursor: pointer; white-space: nowrap; }
.ngf-closed input { accent-color: var(--ngf-orange); }
.ngf-row-closed .ngf-day { opacity: .45; text-decoration: line-through; }
.ngf-row-closed .ngf-time { opacity: .4; }

/* File inputs */
.ngf-file {
	width: 100%;
	box-sizing: border-box;
	border: 2px dashed var(--ngf-line);
	border-radius: 10px;
	padding: 14px;
	font-size: 13px;
	background: #faf9ff;
	cursor: pointer;
	color: var(--ngf-muted);
}
.ngf-file:hover { border-color: var(--ngf-yellow); }
.ngf-file::file-selector-button {
	background: var(--ngf-purple);
	color: var(--ngf-yellow);
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	font-weight: 700;
	font-size: 12px;
	margin-right: 12px;
	cursor: pointer;
}
.ngf-hint { display: block; margin-top: 5px; font-size: 11.5px; color: var(--ngf-muted); }

/* Button */
.ngf-btn {
	display: block;
	width: 100%;
	margin-top: 26px;
	background: linear-gradient(135deg, var(--ngf-yellow) 0%, var(--ngf-orange) 100%);
	color: var(--ngf-purple);
	border: none;
	border-radius: 50px;
	padding: 16px 28px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .3px;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease;
	box-shadow: 0 8px 22px rgba(247, 147, 30, 0.35);
}
.ngf-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(247, 147, 30, 0.45); }
.ngf-btn:disabled { opacity: .75; cursor: wait; }
.ngf-btn:focus-visible { outline: 3px solid var(--ngf-purple); outline-offset: 3px; }
.ngf-arrow { display: inline-block; transition: transform .2s; }
.ngf-btn:hover .ngf-arrow { transform: translateX(4px); }

.ngf-dots i { animation: ngfBlink 1.2s infinite; font-style: normal; }
.ngf-dots i:nth-child(2) { animation-delay: .2s; }
.ngf-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes ngfBlink { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }

/* Response message */
.ngf-response { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.ngf-response.ngf-show { display: block; }
.ngf-success { background: #ecfbf1; color: #157347; border: 1.5px solid #9fdfba; }
.ngf-error.ngf-response,
.ngf-response.ngf-error { background: #fdeef3; color: #c01e5a; border: 1.5px solid #f3b3c9; }

@media (prefers-reduced-motion: reduce) {
	.ngf-btn, .ngf-arrow, .ngf-toggle-opt span { transition: none; }
	.ngf-dots i { animation: none; opacity: 1; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
	.ngf-form { padding: 26px 18px 22px; border-radius: 14px; }
	.ngf-grid { grid-template-columns: 1fr; gap: 14px; }
	.ngf-title { font-size: 22px; }
	.ngf-hours-row {
		grid-template-columns: 1fr 1fr;
		grid-template-areas: "day closed" "open close";
		row-gap: 6px;
	}
	.ngf-hours-row .ngf-day { grid-area: day; }
	.ngf-hours-row .ngf-closed { grid-area: closed; justify-self: end; }
	.ngf-hours-row select:first-of-type { grid-area: open; }
	.ngf-hours-row select:last-of-type { grid-area: close; }
	.ngf-to { display: none; }
}

@media (max-width: 480px) {
	.ngf-toggle { grid-template-columns: 1fr; }
	.ngf-btn { font-size: 15px; padding: 14px 20px; }
}
