/* iSafePay CC — block checkout card form */

/* Header label (next to the radio button) */
.wc-isafepaycc-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.75em;
}

.wc-isafepaycc-label-left {
	display: flex;
	align-items: center;
	gap: 0.6em;
}

.wc-isafepaycc-title-glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 26px;
	border: 1px solid #d6d9e0;
	border-radius: 6px;
	color: #6b7280;
	background: #fff;
}

.wc-isafepaycc-label-text {
	font-weight: 600;
	font-size: 1.05em;
}

.wc-isafepaycc-label-icons {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	flex-shrink: 0;
}

.wc-isafepaycc-brand-icon {
	height: 24px;
	width: auto;
	display: inline-block;
}

/* Card form body */
.wc-isafepaycc-cc-form {
	padding: 4px 2px 4px;
}

.wc-isafepaycc-description {
	margin: 0 0 14px;
	color: #4b5563;
}

.wc-isafepaycc-cc-form input{
	margin-bottom: 5px;
}

.wc-isafepaycc-field {
	display: flex;
	flex-direction: column;
}

.wc-isafepaycc-field-label {
	font-weight: 600;
	font-size: 0.95em;
	margin-bottom: 6px;
	color: #1f2430;
}

.wc-isafepaycc-cc-form .wc-isafepaycc-input {
	width: 100%;
	box-sizing: border-box;
	height: auto;
	padding: 14px 16px;
	/* Keep at least 16px so mobile browsers (iOS) don't zoom on focus. */
	font-size: 16px;
	line-height: 1.3;
	color: #1f2430;
	border: 1px solid #d6d9e0;
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	/* Prevent any theme-applied zoom/scale animation on the field. */
	transform: none !important;
}

.wc-isafepaycc-cc-form .wc-isafepaycc-input::placeholder {
	color: #9aa1ad;
}

.wc-isafepaycc-cc-form .wc-isafepaycc-input:focus,
.wc-isafepaycc-cc-form .wc-isafepaycc-input:active {
	outline: none;
	border-color: #7c5cff;
	box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
	transform: none !important;
}

/* Expiry + CVC side by side */
.wc-isafepaycc-row {
	display: flex;
	gap: 16px;
}

.wc-isafepaycc-row .wc-isafepaycc-field {
	flex: 1 1 0;
	margin-bottom: 0;
}

@media (max-width: 480px) {
	.wc-isafepaycc-row {
		gap: 12px;
	}
}
