/* Authorize.net payment forms — minimal card layout */

.anet-payment-page__header {
	margin-bottom: 1.25rem;
}

.anet-payment-page__intro {
	margin-bottom: 2rem;
	max-width: 42rem;
}

.anet-payment-page__intro p:last-child {
	margin-bottom: 0;
}

.anet-payment-page__notice {
	padding: 1rem 1.25rem;
	background: #f8f4ef;
	border-left: 3px solid #8b6914;
	color: #333;
}

.anet-payment-wrap {
	max-width: 36rem;
	margin: 0 auto 3rem;
}

.anet-payment-form {
	background: #fff;
	border: 1px solid #e8e4df;
	border-radius: 6px;
	padding: 1.75rem 1.5rem 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.anet-payment-form__section + .anet-payment-form__section {
	margin-top: 1.75rem;
	padding-top: 1.75rem;
	border-top: 1px solid #eeeae5;
}

.anet-payment-form__section-title {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b5c4a;
	margin: 0 0 1rem;
}

.anet-payment-form__section-note,
.anet-payment-form__fee-notice {
	margin: -0.35rem 0 1rem;
	font-size: 0.875rem;
	color: #666;
	line-height: 1.45;
}

.anet-payment-form__fee-summary {
	margin: 0.75rem 0 1.25rem;
	padding: 0.875rem 1rem;
	background: #f8f6f2;
	border: 1px solid #e8e4df;
	border-radius: 4px;
}

.anet-payment-form__fee-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.875rem;
	color: #444;
}

.anet-payment-form__fee-row + .anet-payment-form__fee-row {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid #e8e4df;
}

.anet-payment-form__fee-row--total {
	font-size: 0.9375rem;
	color: #2c2c2c;
}

.anet-payment-form__fee-value {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.anet-payment-form__grid {
	display: grid;
	gap: 1rem;
}

.anet-payment-form__grid--2 {
	grid-template-columns: 1fr 1fr;
}

.anet-payment-form__grid--card {
	grid-template-columns: 1fr 1fr 0.75fr;
}

@media (max-width: 640px) {
	.anet-payment-form {
		padding: 1.25rem 1rem;
	}

	.anet-payment-form__grid--2,
	.anet-payment-form__grid--card {
		grid-template-columns: 1fr;
	}
}

.anet-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.anet-field--full {
	margin-top: 1rem;
}

.anet-field__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #2c2c2c;
}

.anet-required {
	color: #9a3b2e;
	font-weight: 700;
}

.anet-optional {
	font-weight: 400;
	color: #888;
	font-size: 0.8125rem;
}

.anet-field__input {
	width: 100%;
	padding: 0.65rem 0.75rem;
	font-size: 1rem;
	line-height: 1.4;
	border: 1px solid #d4cfc6;
	border-radius: 4px;
	background: #faf9f7;
	color: #222;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.anet-field__input:focus {
	outline: none;
	border-color: #8b6914;
	box-shadow: 0 0 0 2px rgba(139, 105, 20, 0.15);
	background: #fff;
}

.anet-field__textarea {
	min-height: 4rem;
	resize: vertical;
}

.anet-field__amount-wrap {
	display: flex;
	align-items: stretch;
}

.anet-field__currency {
	display: flex;
	align-items: center;
	padding: 0 0.75rem;
	background: #f0ebe3;
	border: 1px solid #d4cfc6;
	border-right: none;
	border-radius: 4px 0 0 4px;
	font-weight: 600;
	color: #5c4f3a;
}

.anet-field__input--amount {
	border-radius: 0 4px 4px 0;
	font-size: 1.125rem;
	font-weight: 600;
}

.anet-field__exp {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.anet-field__exp .anet-field__input {
	flex: 1;
	text-align: center;
}

.anet-field__exp-sep {
	color: #888;
	font-weight: 600;
}

.anet-payment-form__secure {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 1.25rem 0 0;
	font-size: 0.8125rem;
	color: #6b6b6b;
}

.anet-payment-form__lock {
	flex-shrink: 0;
	opacity: 0.7;
}

.anet-payment-form__actions {
	margin-top: 1.25rem;
}

.anet-payment-form__submit {
	width: 100%;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.anet-payment-form__submit:disabled,
.anet-payment-form__submit.is-loading {
	opacity: 0.65;
	cursor: wait;
}

.anet-payment-form__message {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.anet-payment-form__message--error {
	background: #fdf0ee;
	border: 1px solid #e8c4be;
	color: #7a2e22;
}

.anet-payment-form__message--success {
	background: #eef6ee;
	border: 1px solid #c5dcc5;
	color: #2d5a2d;
}

.anet-confirmation-message {
	max-width: 36rem;
	margin: 0 auto 2rem;
}

.anet-confirmation-message p {
	margin: 0 0 1rem;
	line-height: 1.55;
}

.anet-confirmation-txn {
	font-size: 0.9375rem;
	color: #444;
}

.anet-payment-form__test-note {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	font-size: 0.875rem;
	background: #f5f0e6;
	border: 1px solid #e0d6c8;
	border-radius: 4px;
	color: #5c4f3a;
}

.anet-payment-form__fill-test {
	margin-left: 0.35rem;
	padding: 0.2rem 0.55rem;
	font-size: 0.8125rem;
	cursor: pointer;
	border: 1px solid #8b6914;
	border-radius: 3px;
	background: #fff;
	color: #5c4f3a;
}

.anet-payment-form__fill-test:hover {
	background: #f0ebe3;
}
