/* Repuvia Claim — front-end styles.
 * Self-contained, low-specificity selectors so theme styles still win
 * where intended. Uses CSS variables so the button matches the site palette.
 */

.repuvia-claim-button {
	margin: 24px 0;
}

.repuvia-claim-button.repuvia-claimed span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 20px;
	border: 1px solid #f0cd74;
	border-radius: 999px;
	background: #fff8e5;
	color: #71520a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

.repuvia-claim-button.repuvia-claimed span::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: #e2a514;
	box-shadow: 0 0 0 4px rgba(226, 165, 20, .14);
}

/* Automatically moved directly below the appointment button. */
.repuvia-claim-button--appointment {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 14px 0 0;
	box-sizing: border-box;
}

.repuvia-claim-button--appointment .repuvia-btn {
	min-height: 46px;
	padding: 11px 22px;
	border: 1.5px solid #0066cc;
	background: #fff;
	color: #0066cc;
	box-shadow: 0 4px 12px rgba(0, 102, 204, .08);
}

.repuvia-claim-button--appointment .repuvia-btn:hover,
.repuvia-claim-button--appointment .repuvia-btn:focus {
	background: #f2f8ff;
	color: #0057ad;
	border-color: #0057ad;
	opacity: 1;
}

.repuvia-btn {
	display: inline-block;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--repuvia-accent, #1a73e8);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform .08s ease, opacity .15s ease;
}

.repuvia-btn:hover,
.repuvia-btn:focus {
	color: #fff;
	background: var(--repuvia-accent, #1a73e8);
	opacity: .92;
	transform: translateY(-1px);
}

.repuvia-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* Multi-step flow container */
.repuvia-flow {
	max-width: 640px;
	margin: 32px auto;
	padding: 28px;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 14px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.repuvia-flow__head h2 {
	margin: 0 0 6px;
	font-size: 22px;
}

.repuvia-flow__sub {
	margin: 0 0 20px;
	color: #555;
}

.repuvia-flow__error {
	margin-bottom: 16px;
	padding: 12px 14px;
	background: #fdecea;
	color: #b71c1c;
	border-radius: 8px;
	font-size: 14px;
}

.repuvia-form__field {
	margin-bottom: 18px;
}

.repuvia-form__field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}

.repuvia-form__field input[type="text"],
.repuvia-form__field input[type="email"],
.repuvia-form__field input[type="url"],
.repuvia-form__field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c8d0d8;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}

.repuvia-form__field small {
	display: block;
	margin-top: 4px;
	color: #777;
	font-size: 12px;
}

.repuvia-req {
	color: #d33;
}

/* Honeypot — hidden visually but present in DOM */
.repuvia-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Thank-you screen */
.repuvia-thankyou {
	text-align: center;
}

.repuvia-thankyou__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e9f5ec;
	color: #2e7d4f;
	font-size: 32px;
	font-weight: 700;
}

.repuvia-thankyou__back {
	margin-top: 24px;
}

.repuvia-thankyou__back a {
	color: var(--repuvia-accent, #1a73e8);
}

@media (max-width: 767px) {
	.repuvia-claim-button--appointment {
		padding: 0 12px;
	}

	.repuvia-claim-button--appointment .repuvia-btn,
	.repuvia-claim-button--appointment.repuvia-claimed span {
		width: 100%;
		max-width: 360px;
		box-sizing: border-box;
		text-align: center;
	}
}
