/* ---------------------------------------------------------------------
   Invest Now, CTA banner + investment-interest modal.
--------------------------------------------------------------------- */

.gpc-invest-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	background:#061a3b;
	border-radius: 14px;
	padding: 18px 22px;
	margin: 0 0 18px;
	box-shadow: 0 4px 16px rgba(26,26,46,.25);
}
.gpc-invest-cta-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: #ffffff;
}
.gpc-invest-cta-badge {
	display: inline-block;
	align-self: flex-start;
	background: #ffd166;
	color: #1a1a2e !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .4px;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 6px;
}
.gpc-invest-cta-eyebrow { font-size: 15px; font-weight: 800; }
.gpc-invest-cta-sub { font-size: 13px; opacity: .85; }
.gpc-invest-cta-btn {
	background: #ffd166;
	color: #1a1a2e !important;
	border: none;
	border-radius: 999px;
	padding: 13px 26px;
	font-size: 14.5px;
	font-weight: 800;
	letter-spacing: .2px;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.gpc-invest-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(0,0,0,.28); }
@media (max-width: 600px) {
	.gpc-invest-cta { padding: 15px 16px; }
	.gpc-invest-cta-btn { width: 100%; text-align: center; padding: 14px 18px; }
}

/* ---------------------------------------------------------------- modal */
.gpc-invest-modal { position: fixed; inset: 0; z-index: 100000; display: none; }
.gpc-invest-modal.is-open { display: block; }
.gpc-invest-modal-overlay { position: absolute; inset: 0; background: rgba(10,10,20,.6); }
body.gpc-invest-lock-scroll { overflow: hidden; }
.gpc-invest-modal-panel {
	position: relative;
	z-index: 1;
	max-width: 560px;
	margin: 4vh auto;
	max-height: 92vh;
	overflow-y: auto;
	background: #ffffff;
	border-radius: 16px;
	padding: 30px 28px 24px;
	box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.gpc-invest-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #444;
}
.gpc-invest-modal-title { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: #1a1a2e; }
.gpc-invest-modal-listing { margin: 0 0 18px; font-size: 13.5px; color: #555; }
.gpc-invest-form-status {
	display: none;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	margin-bottom: 14px;
}
.gpc-invest-form-status.is-visible { display: block; }
.gpc-invest-form-status.is-success { background: #fff4de; color: #5a3e1b; }
.gpc-invest-form-status.is-error { background: #fdecec; color: #9c1c1c; }
.gpc-invest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }

/* Generic field styling, same shape as GPC_Booking_Inspection's own
   .gpc-field rules, defined again here (not shared) so this widget's
   CSS never depends on that plugin feature's stylesheet also being
   enqueued on the page. */
.gpc-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #22221c; }
.gpc-field-full { grid-column: 1 / -1; }
.gpc-field em { color: #c0392b; font-style: normal; }
.gpc-field .gpc-optional { font-weight: 500; color: #888; font-size: 11.5px; }
.gpc-field input,
.gpc-field select,
.gpc-field textarea {
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 10px 12px;
	border: 1px solid #d7d4cc;
	border-radius: 9px;
	background: #fbfbf9;
	color: #1c1c1c;
}
.gpc-field input:focus,
.gpc-field select:focus,
.gpc-field textarea:focus { outline: none; border-color: #8a5a25; background: #ffffff; }
.gpc-field-toggle {
	align-self: flex-start;
	background: none;
	border: none;
	padding: 0;
	color: #8a5a25;
	font-size: 11.5px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
.gpc-invest-submit-btn {
	width: 100%;
	margin-top: 20px;
	background: #1a1a2e;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}
.gpc-invest-submit-btn:disabled { opacity: .7; cursor: not-allowed; }
.gpc-invest-submit-btn:hover:not(:disabled) { background: #3a2a08; }
.gpc-invest-form-note { margin: 10px 0 0; font-size: 11.5px; color: #888; text-align: center; }

@media (max-width: 600px) {
	.gpc-invest-fields { grid-template-columns: 1fr; }
	.gpc-invest-modal-panel { margin: 0; max-height: 100vh; height: 100%; border-radius: 0; }
}
