/* TDA Payments — Stripe Buy Button match */

.tda-payment-form-wrap {
	width: 288px;
	background-color: rgb(204, 211, 217);
	border-radius: 6px;
	padding: 20px 12px;
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Ubuntu, sans-serif;
	font-size: 16px;
	color: rgba(26, 26, 26, 0.9);
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

.tda-payment-logo {
	margin-bottom: 12px;
}

.tda-payment-logo img {
	width: 120px;
	height: 120px;
	display: block;
	filter: drop-shadow(rgba(0, 0, 0, 0.07) 0px 2px 4px) drop-shadow(rgba(0, 0, 0, 0.05) 0px 1px 1.5px);
}

.tda-payment-heading {
	font-size: 16px !important;
	font-weight: 400 !important;
	color: #1a1a1ab3 !important;
	margin: 0 0 6px !important;
	text-align: center !important;
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Ubuntu, sans-serif !important;
}

.tda-payment-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.tda-form-field {
	width: 264px;
	margin-bottom: 12px;
	text-align: center;
}

.tda-form-field:last-child {
	margin-bottom: 0;
}

.tda-form-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 400;
	color: rgba(26, 26, 26, 0.55);
	text-align: center;
}

.tda-form-field input[type="number"],
.tda-form-field input[type="text"] {
	background-color: rgb(255, 255, 255);
	border: none;
	border-radius: 6px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px,
	            rgba(0, 0, 0, 0.07) 0px 2px 4px 0px,
	            rgba(0, 0, 0, 0.05) 0px 1px 1.5px 0px;
	padding: 6px 12px;
	width: 240px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	box-sizing: border-box;
	color: rgba(26, 26, 26, 0.9);
}

.tda-form-field input[type="number"]:focus,
.tda-form-field input[type="text"]:focus {
	outline: none;
	box-shadow: rgba(49, 153, 216, 0.4) 0px 0px 0px 2px,
	            rgba(0, 0, 0, 0.07) 0px 2px 4px 0px,
	            rgba(0, 0, 0, 0.05) 0px 1px 1.5px 0px;
}

.tda-form-field input:invalid:not(:placeholder-shown) {
	box-shadow: rgba(220, 39, 39, 0.4) 0px 0px 0px 2px,
	            rgba(0, 0, 0, 0.07) 0px 2px 4px 0px,
	            rgba(0, 0, 0, 0.05) 0px 1px 1.5px 0px;
}

/* Hide number input spinners */
.tda-form-field input[type="number"]::-webkit-inner-spin-button,
.tda-form-field input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tda-form-field input[type="number"] {
	-moz-appearance: textfield;
}

input#tda_amount {
	font-size: 25px;
	font-weight: 600;
	color: #303030 !important;
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Ubuntu, sans-serif;
}

input#tda_amount::placeholder {
	font-size: 25px;
	font-weight: 600;
	color: #303030;
	opacity: 1;
}

.tda-required {
	color: rgb(220, 39, 39);
	font-weight: 600;
}

.tda-submit-btn {
	background-color: rgb(49, 153, 216);
	color: rgb(255, 255, 255);
	border: none;
	border-radius: 6px;
	height: 44px;
	width: 264px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	text-align: center;
	transition: all 0.2s ease, box-shadow 0.08s ease-in;
	margin-top: 4px;
}

.tda-submit-btn:hover {
	filter: brightness(1.08);
}

.tda-submit-btn:active {
	filter: brightness(0.95);
}

/* Notice messages */
.tda-notice {
	width: 264px;
	padding: 8px 12px;
	border-radius: 6px;
	margin-bottom: 12px;
	font-size: 13px;
	text-align: center;
	box-sizing: border-box;
}

.tda-notice-info {
	background: rgba(49, 153, 216, 0.12);
	color: rgba(26, 26, 26, 0.7);
}

.tda-notice-error {
	background: rgba(220, 39, 39, 0.1);
	color: rgb(180, 30, 30);
}

.tda-notice p {
	margin: 0;
}

.ProductImage-imageContainer {
	filter: none !important;
}

/* Confirmation page */
.tda-confirmation-wrap {
	max-width: 480px;
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Ubuntu, sans-serif;
	font-size: 16px;
	color: rgba(26, 26, 26, 0.9);
}

.tda-confirmation h2 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px;
}

.tda-confirmation p {
	margin: 0 0 12px;
	line-height: 1.5;
}

.tda-confirmation a {
	color: rgb(49, 153, 216);
	text-decoration: none;
}

.tda-confirmation a:hover {
	text-decoration: underline;
}

.tda-confirmation-btn {
	display: inline-block;
	margin-top: 4px;
	font-weight: 600;
}

/* Login prompt */
.tda-login-prompt {
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Ubuntu, sans-serif;
	font-size: 14px;
	color: rgba(26, 26, 26, 0.7);
	text-align: center;
}

.tda-login-prompt a {
	color: rgb(49, 153, 216);
	text-decoration: none;
}

.tda-login-prompt a:hover {
	text-decoration: underline;
}
