/* Backed Buy — buy-back form (front-end, theme-neutral) */

.bbd-buyback {
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}
.bbd-bb-intro {
	margin: 0 0 20px;
	font-size: 17px;
}
.bbd-bb-step {
	margin-bottom: 24px;
}
.bbd-bb-heading {
	font-size: 17px;
	margin: 0 0 12px;
}
.bbd-bb-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 14px;
}
.bbd-bb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.bbd-bb-field > span {
	font-size: 13px;
	font-weight: 600;
	opacity: 0.85;
}
.bbd-buyback select,
.bbd-buyback input[type="text"],
.bbd-buyback input[type="email"],
.bbd-buyback input[type="tel"] {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #cbd2dc;
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	box-sizing: border-box;
}
.bbd-buyback select:disabled {
	background: #f3f4f6;
	color: #9ca3af;
}
.bbd-buyback select:focus,
.bbd-buyback input:focus {
	outline: none;
	border-color: #003da5;
	box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15);
}

.bbd-bb-notlisted {
	margin: 12px 0 0;
	font-size: 14px;
}
.bbd-bb-hint {
	font-size: 14px;
	opacity: 0.75;
	margin: 6px 0 10px;
}

.bbd-bb-conditions,
.bbd-bb-deductions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bbd-bb-radio,
.bbd-bb-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e2e6ec;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.bbd-bb-radio:hover,
.bbd-bb-check:hover {
	border-color: #003da5;
	background: #f7f9fc;
}
.bbd-bb-radio input,
.bbd-bb-check input {
	margin: 0;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.bbd-bb-estimate {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	margin: 8px 0 24px;
	background: #0f1729;
	color: #fff;
	border-radius: 10px;
}
.bbd-bb-estimate.is-muted .bbd-bb-estimate-value {
	font-size: 18px;
	color: #9fb3d1;
}
.bbd-bb-estimate-label {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #9fb3d1;
}
.bbd-bb-estimate-value {
	font-size: 30px;
	font-weight: 700;
	color: #00c851;
}

.bbd-bb-terms {
	font-size: 13px;
	opacity: 0.75;
	background: #f3f4f6;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 16px 0;
}

.bbd-bb-submit {
	display: inline-block;
	width: 100%;
	padding: 14px 20px;
	background: #003da5;
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}
.bbd-bb-submit:hover {
	background: #00317f;
}
.bbd-bb-submit:disabled {
	opacity: 0.7;
	cursor: default;
}

.bbd-bb-message {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fdecec;
	color: #b32d2e;
	font-size: 14px;
}

/* Honeypot — hidden from users, visible to naive bots. */
.bbd-bb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bbd-bb-success {
	text-align: center;
	padding: 28px 20px;
	border: 1px solid #d1e7dd;
	background: #f0f9f4;
	border-radius: 12px;
}
.bbd-bb-success h3 {
	margin: 0 0 10px;
	color: #0f5132;
}

/* IMEI field */
.bbd-bb-imei-wrap {
	margin-top: 16px;
}
.bbd-bb-optional {
	font-weight: 400;
	opacity: 0.6;
}
.bbd-bb-imei-feedback {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
}
.bbd-bb-imei-feedback.is-valid {
	color: #059669;
}
.bbd-bb-imei-feedback.is-invalid {
	color: #dc2626;
}
.bbd-bb-imei-feedback.is-warn {
	color: #b45309;
}
