/* ── Bondle WooCommerce — Checkout Styles ─────────────────────────── */

.bondle-description {
	margin-bottom: 14px;
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
}

/* ── Field wrapper ─────────────────────────────────────────────────── */
.bondle-field-wrap {
	margin-top: 14px;
}

.bondle-field-wrap > label {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
}

.bondle-field-wrap > label .required {
	color: #ef4444;
	margin-left: 2px;
}

/* ── Code input + button row ───────────────────────────────────────── */
.bondle-input-group {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.bondle-code-input {
	flex: 1 1 0 !important;
	padding: 12px 14px !important;
	font-family: 'Courier New', Courier, monospace !important;
	font-size: 15px !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	border: 2px solid #e2e8f0 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
	background: #fff !important;
	color: #0f172a !important;
}

.bondle-code-input:focus {
	border-color: #6366f1 !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
}

.bondle-code-input:disabled {
	background: #f8fafc !important;
	cursor: not-allowed !important;
}

.bondle-verify-btn {
	flex-shrink: 0 !important;
	padding: 0 20px !important;
	height: auto !important;
	background: #6366f1 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	cursor: pointer !important;
	transition: background 0.18s ease, opacity 0.18s ease !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

.bondle-verify-btn:hover:not(:disabled) {
	background: #4f46e5 !important;
}

.bondle-verify-btn:disabled {
	opacity: 0.55 !important;
	cursor: not-allowed !important;
}

/* ── Card info (success state) ─────────────────────────────────────── */
.bondle-card-info {
	margin-top: 10px;
	padding: 12px 16px;
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	border-radius: 10px;
}

.bondle-card-valid {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bondle-check-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: #22c55e;
	color: #fff;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.bondle-card-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bondle-card-name {
	font-size: 13px;
	font-weight: 600;
	color: #166534;
}

.bondle-card-value {
	font-size: 18px;
	font-weight: 700;
	color: #15803d;
	font-family: inherit;
	letter-spacing: -0.01em;
}

/* ── Error state ───────────────────────────────────────────────────── */
.bondle-code-error {
	margin-top: 10px;
	padding: 11px 15px;
	background: #fef2f2;
	border: 1.5px solid #fca5a5;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
	color: #dc2626;
	line-height: 1.45;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media ( max-width: 480px ) {
	.bondle-input-group {
		flex-direction: column;
	}

	.bondle-verify-btn {
		padding: 12px 16px !important;
		width: 100% !important;
	}
}
