/* Dark credit-card frame to match the LatePoint Braintree / Square gateways. */

.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .authorize-net-payment-card-w,
.latepoint-w .latepoint-transaction-payment-form .authorize-net-payment-card-w {
	background-color: #FFFCF4;
	padding: 0 20px 10px;
	border-radius: 10px;
}

.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .authorize-net-payment-card-w .lp-card-i,
.latepoint-w .latepoint-transaction-payment-form .authorize-net-payment-card-w .lp-card-i {
	background: linear-gradient(45deg, #000000 0%, #282828 58%, #303030 58%, #000000 100%);
	box-shadow: 0 10px 20px 0 rgba(89, 89, 89, 0.5), 0 2px 3px 0 rgba(11, 11, 11, 0.66);
	border-radius: 20px;
	border: 1px solid #000;
	padding: 30px 30px 20px;
	position: relative;
}

.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .authorize-net-payment-card-w .lp-card-i .lp-card-header,
.latepoint-w .latepoint-transaction-payment-form .authorize-net-payment-card-w .lp-card-i .lp-card-header {
	color: #fff;
	margin: 0 0 25px;
	font-size: 26px;
}

/* Chip ornament */
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-card-chip,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-card-chip {
	background-color: #ffe5b6;
	padding: 7px 1px;
	position: absolute;
	top: 30px;
	right: 30px;
	border-radius: 4px;
}
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-card-chip:before,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-card-chip:before {
	content: "";
	position: absolute;
	top: 13px;
	left: 0;
	width: 10px;
	height: 4px;
	box-shadow: 0 1px 0 0 #D4C7B9, 0 -1px 0 0 #D4C7B9;
}
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-card-chip:after,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-card-chip:after {
	content: "";
	position: absolute;
	top: 13px;
	right: 0;
	width: 10px;
	height: 4px;
	box-shadow: 0 1px 0 0 #D4C7B9, 0 -1px 0 0 #D4C7B9;
}
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-card-chip .chip-i,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-card-chip .chip-i {
	height: 16px;
	width: 40px;
	box-shadow: 0 1px 0 0 #D4C7B9, 0 -1px 0 0 #D4C7B9;
}
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-card-chip .chip-i:before,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-card-chip .chip-i:before {
	content: "";
	position: absolute;
	top: 0;
	left: 11px;
	width: 20px;
	bottom: 0;
	box-shadow: 1px 0 0 0 #D4C7B9, -1px 0 0 0 #D4C7B9;
}

/* Card-input field wrappers. These inputs have no `name` attribute by design. */
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-field-w,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-field-w {
	margin-bottom: 18px;
	position: relative;
}

.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-field-w label,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-field-w label {
	display: block;
	color: rgba(175, 184, 214, 0.6);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-field-w input,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-field-w input {
	display: block;
	width: 100%;
	box-shadow: none;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding: 6px 0;
	border-radius: 0;
	background-color: transparent;
	color: #fff;
	font-size: 16px;
	font-family: inherit;
	-webkit-text-fill-color: #fff;
	outline: none;
	height: auto;
	line-height: 1.4;
}

.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-field-w input::placeholder,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-field-w input::placeholder {
	color: rgba(221, 221, 221, 0.7);
}

.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-field-w input:focus,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-field-w input:focus {
	border-bottom-color: #fff;
}

/* Fix Chrome autofill background painting over the dark card */
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-field-w input:-webkit-autofill,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-field-w input:-webkit-autofill {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0 1000px transparent inset;
	transition: background-color 9999s ease-out;
}

/* Error region */
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-errors,
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-errors {
	color: #ffb4b4;
	font-size: 13px;
	margin-top: 8px;
	min-height: 1em;
	display: none;
}
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-authorize-net-errors:not(:empty),
.latepoint-w .latepoint-transaction-payment-form .lp-authorize-net-errors:not(:empty) {
	display: block;
}

/* Secured-payments label (matches Braintree's pattern with the lock icon). */
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .authorize-net-payment-card-w + .latepoint-secured-payments-label,
.latepoint-w .latepoint-transaction-payment-form .authorize-net-payment-card-w + .latepoint-secured-payments-label,
.latepoint-w .latepoint-booking-form-element .step-payment-pay-w .lp-payment-method-content[data-payment-method="card"] .latepoint-secured-payments-label,
.latepoint-w .latepoint-transaction-payment-form .lp-payment-method-content[data-payment-method="card"] .latepoint-secured-payments-label {
	font-size: 12px;
	margin-top: 10px;
	color: #818181;
	font-weight: 600;
	padding: 0 40px;
	text-align: center;
	position: relative;
}

@media (max-width: 600px) {
	.latepoint-w .latepoint-booking-form-element .step-payment-w .authorize-net-payment-card-w {
		padding-left: 0;
		padding-right: 0;
	}
}
