/* CaratSync Demo — banner + request form styling. */

/* ---- Site-wide demo banner ---- */
.caratsync-demo-bar {
	background: #b45309;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	padding: 10px 16px;
	z-index: 99999;
}
.caratsync-demo-bar strong {
	background: #fff;
	color: #b45309;
	border-radius: 3px;
	padding: 1px 7px;
	margin-right: 6px;
	font-weight: 700;
	letter-spacing: .5px;
}
.caratsync-demo-bar--fixed {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
}

/* ---- Request form card ---- */
.caratsync-demo-card {
	max-width: 520px;
	margin: 32px auto;
	padding: 28px 28px 24px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
	background: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.caratsync-demo-card__title {
	margin: 0 0 6px;
	font-size: 22px;
}
.caratsync-demo-card__lead {
	margin: 0 0 18px;
	color: #4b5563;
}
.caratsync-demo-form__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}
.caratsync-demo-form__input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	margin-bottom: 14px;
}
.caratsync-demo-form__input:focus {
	outline: none;
	border-color: #b45309;
	box-shadow: 0 0 0 3px rgba(180, 83, 9, .15);
}
.caratsync-demo-btn {
	display: inline-block;
	background: #b45309;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}
.caratsync-demo-btn:hover { background: #92400e; }

.caratsync-demo-fineprint {
	margin: 14px 0 0;
	font-size: 12px;
	color: #6b7280;
}
.caratsync-demo-msg {
	padding: 11px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}
.caratsync-demo-msg--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.caratsync-demo-msg--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Admin demo notice — rendered via in_admin_header (outside .wrap), so give it
   the spacing WordPress would normally apply to an admin_notices banner. */
.caratsync-demo-admin-notice {
	margin: 12px 20px 12px 22px;
}
.caratsync-demo-shared {
	display: inline-block;
	margin-top: 4px;
	font-size: 12px;
	font-style: italic;
	color: #6b7280;
}

/* ---- My Account active-session banner (top of account area) ---- */
.caratsync-demo-account-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 1px solid #fcd9a8;
	border-left: 4px solid #b45309;
	border-radius: 10px;
	background: #fffaf2;
	color: #7c2d12;
}
.caratsync-demo-account-banner .caratsync-demo-btn {
	white-space: nowrap;
}

/* ---- Storefront "Try the Admin Demo" CTA (under Add to Cart) ---- */
.caratsync-demo-cta {
	margin: 16px 0 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}
.caratsync-demo-btn--ghost {
	background: transparent;
	color: #b45309;
	border: 2px solid #b45309;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
}
.caratsync-demo-btn--ghost:hover {
	background: #b45309;
	color: #fff;
}
.caratsync-demo-btn--ghost .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 18px;
}
.caratsync-demo-cta__hint {
	font-size: 12px;
	color: #6b7280;
}

/* Honeypot — keep it out of sight + out of the layout. */
.caratsync-demo-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	overflow: hidden;
}
