/* ============================================================
   DG Review Gate — Frontend Styles
   Scoped to .dgrg-wrap to avoid Divi/theme conflicts.
============================================================ */

.dgrg-wrap {
	max-width: 620px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif;
	color: #d8dee5;
	line-height: 1.5;
}

.dgrg-wrap *,
.dgrg-wrap *::before,
.dgrg-wrap *::after { box-sizing: border-box; }

.dgrg-card {
	background:
		radial-gradient(ellipse 100% 60% at 50% 0%, rgba(37,150,190,0.07) 0%, transparent 60%),
		#0a0d12;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 18px;
	padding: 40px 36px;
	box-shadow:
		0 1px 0 rgba(255,255,255,0.04) inset,
		0 30px 70px rgba(0,0,0,0.55);
	position: relative;
	overflow: hidden;
}

.dgrg-card::before {
	content: '';
	position: absolute;
	top: 0; left: 18%; right: 18%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(214,177,0,0.45), transparent);
}

.dgrg-heading {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 32px;
	font-weight: 600;
	font-style: italic;
	color: #f3eee2;
	margin: 0 0 8px;
	line-height: 1.15;
	text-align: center;
}

.dgrg-sub {
	text-align: center;
	color: #97a3ad;
	font-size: 14px;
	margin: 0 0 28px;
}

.dgrg-body {
	color: #c8d2dc;
	font-size: 15px;
	margin: 0 0 24px;
	text-align: center;
	line-height: 1.6;
}

/* ===== Star picker ===== */
.dgrg-stars {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 28px 0 20px;
	flex-wrap: wrap;
}

.dgrg-star-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 16px 12px;
	min-width: 70px;
	background: rgba(255,255,255,0.02);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
	text-decoration: none !important;
	color: #d8dee5;
	transition: all 0.18s ease;
	cursor: pointer;
}

.dgrg-star-btn:hover,
.dgrg-star-btn:focus {
	background: rgba(245,200,66,0.08);
	border-color: rgba(245,200,66,0.35);
	transform: translateY(-2px);
	color: #f5c842;
	text-decoration: none !important;
}

.dgrg-star {
	font-size: 28px;
	line-height: 1;
	color: #f5c842;
	text-shadow: 0 2px 12px rgba(245,200,66,0.3);
}

.dgrg-star-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	color: #97a3ad;
}

.dgrg-fineprint {
	text-align: center;
	font-size: 12px;
	color: #5a6a76;
	margin: 16px 0 0;
}

/* ===== Static stars (post-click views) ===== */
.dgrg-stars-static {
	text-align: center;
	font-size: 36px;
	letter-spacing: 6px;
	color: #f5c842;
	margin-bottom: 18px;
	text-shadow: 0 2px 12px rgba(245,200,66,0.35);
}

.dgrg-stars-static--muted {
	color: #f5c842;
}

.dgrg-star--off {
	color: rgba(245,200,66,0.18);
}

/* ===== Form ===== */
.dgrg-form {
	margin-top: 24px;
}

.dgrg-field {
	margin-bottom: 18px;
}

.dgrg-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 480px) {
	.dgrg-field-row { grid-template-columns: 1fr; }
}

.dgrg-field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #c8d2dc;
	letter-spacing: 0.3px;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.dgrg-req {
	color: #d6b100;
	font-size: 14px;
}

.dgrg-field input[type="text"],
.dgrg-field input[type="email"],
.dgrg-field textarea {
	width: 100%;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #f3eee2;
	line-height: 1.5;
	transition: border-color 0.18s, background 0.18s;
}

.dgrg-field input[type="text"]:focus,
.dgrg-field input[type="email"]:focus,
.dgrg-field textarea:focus {
	outline: none;
	border-color: rgba(37,150,190,0.5);
	background: rgba(37,150,190,0.04);
}

.dgrg-field textarea {
	resize: vertical;
	min-height: 130px;
}

.dgrg-field input::placeholder,
.dgrg-field textarea::placeholder {
	color: #5a6a76;
}

/* Honeypot - visually hidden but not display:none (bots detect that) */
.dgrg-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dgrg-privacy {
	font-size: 12px;
	color: #6a7886;
	margin: 18px 0 24px;
	padding: 12px 14px;
	background: rgba(37,150,190,0.06);
	border-left: 3px solid rgba(37,150,190,0.5);
	border-radius: 4px;
	line-height: 1.5;
}

/* ===== Buttons ===== */
.dgrg-btn {
	display: inline-block;
	background: linear-gradient(160deg, #2596BE, #1a7ba0);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.3px;
	padding: 14px 28px;
	border: none;
	border-radius: 10px;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: 0 8px 28px rgba(37,150,190,0.3);
	transition: all 0.22s ease;
	font-family: inherit;
}

.dgrg-btn:hover,
.dgrg-btn:focus {
	background: linear-gradient(160deg, #2ea8d5, #1f8fb8);
	box-shadow: 0 12px 36px rgba(37,150,190,0.45);
	transform: translateY(-1px);
	color: #ffffff !important;
	text-decoration: none !important;
}

.dgrg-submit {
	width: 100%;
	padding: 16px 28px;
}

.dgrg-cta-row {
	text-align: center;
	margin: 24px 0 0;
}

/* ===== Thanks card ===== */
.dgrg-card--thanks {
	text-align: center;
}

.dgrg-checkmark {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: rgba(214,177,0,0.12);
	border: 1px solid rgba(214,177,0,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d6b100;
}

/* Responsive */
@media (max-width: 600px) {
	.dgrg-card {
		padding: 28px 22px;
		border-radius: 14px;
	}
	.dgrg-heading {
		font-size: 26px;
	}
	.dgrg-stars-static {
		font-size: 30px;
	}
}
