/* gbp-audit.css
   Styling for the GBP audit form, big business card at top of results,
   per-check cards with pass/warn/fail/unknown status pills, and upsell.
   Mirrors schema-generator patterns. All shapes square. */

.gbp-hero { padding-bottom: 50px !important; }
.gbp-tool-section { padding-top: 50px !important; }
@media (max-width: 991px) {
	.gbp-hero { padding-bottom: 30px !important; }
	.gbp-tool-section { padding-top: 30px !important; }
}

.gbp-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	background: linear-gradient(160deg, #101319 0%, #06070a 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 36px 32px 32px;
	margin-top: 40px;
}

.gbp-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 32px;
}
.gbp-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.gbp-col .gbp-submit-row { margin-top: auto; }

.gbp-mode {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 15px;
}
.gbp-mode label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 18px;
	min-height: 18px;
}
.gbp-mode input[type="radio"] {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: #0a0a0a;
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
	vertical-align: middle;
}
.gbp-mode input[type="radio"]:checked { border-color: #00B4FF; }
.gbp-mode input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	inset: 3px;
	background: #00B4FF;
}

.gbp-field-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.gbp-field-row label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
}
.gbp-form input[type="text"],
.gbp-form input[type="url"],
.gbp-form input[type="email"] {
	appearance: none;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 15px;
	font-family: inherit;
	padding: 0 16px;
	height: 52px;
	width: 100%;
	box-sizing: border-box;
}
.gbp-form input:focus {
	outline: none;
	border-color: #00B4FF;
}

.gbp-hidden { display: none !important; }

.gbp-submit-row {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 4px;
	justify-content: flex-end;
}
#gbp-submit {
	height: 52px;
	white-space: nowrap;
}
.gbp-usage {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 700;
}
.gbp-error {
	margin: 16px 0 0;
	padding: 14px 18px;
	border: 1px solid rgba(239, 68, 68, 0.5);
	background: rgba(239, 68, 68, 0.08);
	color: #ff8787;
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Results ---------- */
.gbp-results { display: block; margin-top: 40px; }

.gbp-card {
	position: relative;
	background: linear-gradient(160deg, #141821 0%, #06070a 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 3px solid #00B4FF;
	padding: 28px 26px 26px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Big business header: name + address + score dial */
.gbp-biz-head {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gbp-biz-info { min-width: 0; }
.gbp-biz-name {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}
.gbp-biz-meta {
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	word-break: break-word;
}
.gbp-biz-meta a {
	color: #00B4FF;
	text-decoration: none;
}
.gbp-biz-meta a:hover { text-decoration: underline; }
.gbp-biz-stars {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #f4b942;
	font-weight: 700;
	margin-right: 10px;
}

.gbp-score-dial {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 16px 22px;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-width: 130px;
	text-align: center;
}
.gbp-score-dial--pass   { border-color: #4ade80; }
.gbp-score-dial--warn   { border-color: #f4b942; }
.gbp-score-dial--fail   { border-color: #ff6b6b; }
.gbp-score-value {
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}
.gbp-score-max {
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
	font-weight: 500;
}
.gbp-score-label {
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	margin-top: 2px;
}

.gbp-insight {
	border-left: 3px solid #00B4FF;
	padding: 16px 20px;
	background: rgba(0, 180, 255, 0.06);
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	line-height: 1.65;
	font-weight: 300;
}
.gbp-insight-head {
	color: #00B4FF;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 10px;
}

/* Per-check list */
.gbp-checks-head {
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 12px;
}
.gbp-checks { display: flex; flex-direction: column; gap: 10px; }
.gbp-check {
	display: grid;
	grid-template-columns: 90px 1fr auto;
	gap: 16px;
	align-items: start;
	padding: 14px 16px;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-left-width: 3px;
}
.gbp-check--pass    { border-left-color: #4ade80; }
.gbp-check--warn    { border-left-color: #f4b942; }
.gbp-check--fail    { border-left-color: #ff6b6b; }
.gbp-check--unknown { border-left-color: #8aa0bd; }

.gbp-check-status {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 4px 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	white-space: nowrap;
}
.gbp-check-status--pass    { color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.06); }
.gbp-check-status--warn    { color: #f4b942; border: 1px solid rgba(244, 185, 66, 0.4); background: rgba(244, 185, 66, 0.06); }
.gbp-check-status--fail    { color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.06); }
.gbp-check-status--unknown { color: #8aa0bd; border: 1px solid rgba(138, 160, 189, 0.4); background: rgba(138, 160, 189, 0.06); }

.gbp-check-body { min-width: 0; }
.gbp-check-label {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.35;
}
.gbp-check-note {
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
	font-weight: 300;
}
.gbp-check-points {
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	font-family: Menlo, Consolas, monospace;
	white-space: nowrap;
}

/* Inline button inside an FAQ answer. */
.mm-faq-cta { margin-top: 20px; display: flex; justify-content: flex-end; }
.mm-faq-cta .btn-mm { height: 52px; display: inline-flex; align-items: center; }

/* ---------- Upsell ---------- */
.gbp-upsell {
	margin-top: 50px;
	display: grid;
	grid-template-columns: minmax(240px, 1fr) 3fr;
	gap: 48px;
	align-items: center;
	padding: 60px 56px;
	background: linear-gradient(135deg, #0a1a24 0%, #060a0f 60%, #0a0a0a 100%);
	border: 1px solid rgba(0, 180, 255, 0.25);
	border-top: 3px solid #00B4FF;
	box-shadow: 0 24px 48px -20px rgba(0, 180, 255, 0.15), 0 20px 40px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.gbp-upsell-score { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.gbp-upsell-score-number { display: flex; align-items: baseline; justify-content: center; gap: 2px; line-height: 1; }
.gbp-upsell-score-num {
	color: #fff;
	font-size: 128px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	text-shadow: 0 0 32px rgba(0, 180, 255, 0.4);
}
.gbp-upsell-score-slash { color: rgba(0, 180, 255, 0.6); font-size: 72px; font-weight: 300; line-height: 1; margin: 0 4px; }
.gbp-upsell-score-max { color: rgba(255, 255, 255, 0.6); font-size: 60px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.gbp-upsell-score-label { color: rgba(255, 255, 255, 0.55); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.gbp-upsell-body { display: flex; flex-direction: column; gap: 14px; }
.gbp-upsell-headline { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.gbp-upsell-copy { color: rgba(255, 255, 255, 0.78); font-size: 20px; line-height: 1.55; font-weight: 300; margin: 0; }
.gbp-upsell-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; justify-content: flex-end; }
.gbp-upsell-ctas .btn-mm,
.gbp-upsell-ctas .btn-mm-ghost { height: 52px; display: inline-flex; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.gbp-grid { grid-template-columns: 1fr; gap: 16px; }
	.gbp-biz-head { grid-template-columns: 1fr; gap: 18px; }
	.gbp-score-dial { justify-self: start; }
	.gbp-upsell { grid-template-columns: 1fr; gap: 24px; padding: 40px 28px; }
	.gbp-upsell-score-num { font-size: 96px; }
	.gbp-upsell-score-slash { font-size: 56px; }
	.gbp-upsell-score-max { font-size: 44px; }
	.gbp-upsell-ctas { justify-content: stretch; }
	.gbp-upsell-ctas .btn-mm,
	.gbp-upsell-ctas .btn-mm-ghost { flex: 1; }
}
@media (max-width: 575px) {
	.gbp-form { padding: 28px 22px 24px; }
	.gbp-mode { gap: 16px; }
	.gbp-check { grid-template-columns: 1fr; gap: 10px; }
	.gbp-check-points { justify-self: start; }
}
@media (max-width: 480px) {
	.gbp-upsell-ctas,
	.mm-faq-cta,
	.gbp-submit-row {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
		width: 100% !important;
		justify-content: flex-start !important;
	}
	.gbp-upsell-ctas .btn-mm,
	.gbp-upsell-ctas .btn-mm-ghost,
	.gbp-upsell-ctas .btn-mm-large,
	.mm-faq-cta .btn-mm,
	.mm-faq-cta .btn-mm-ghost,
	.mm-faq-cta .btn-mm-large,
	#gbp-submit {
		width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 auto !important;
		white-space: nowrap !important;
		text-align: center !important;
		justify-content: center !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		font-size: 12.5px !important;
		letter-spacing: 0.08em !important;
	}
	.gbp-usage { text-align: center; }
}
