/*
 * Matches the Leaky Paywall core registration form. Only loaded when
 * Leaky Paywall > Settings > CSS Style is set to Default.
 */

/* Gift checkout form — matches LP core registration form styling */

.lp-gift-form h3 {
	margin-top: 20px;
}

.lp-gift-form input {
	width: 100%;
	border: 1px solid var(--wp--preset--color--black);
	border-radius: 0;
	font-size: var(--wp--preset--font-size--small);
	padding: 0.9rem 1.1rem;
}

.lp-gift-form select,
.lp-gift-form textarea {
	width: 100%;
	font-size: var(--wp--preset--font-size--small);
	padding: 0.9rem 1.1rem;
}

.lp-gift-form .checkbox input {
	width: auto;
	padding: 0;
}

/* Gift redemption form — matches LP core registration form styling */

.leaky-paywall-gift-redemption-shortcode #leaky-paywall-gift-subscription-redemption-code .lp-gift-sub-field-input,
.leaky-paywall-gift-redemption-shortcode #leaky-paywall-gift-subscription-redeem .lp-gift-sub-field-input,
.leaky-paywall-gift-redemption-shortcode #leaky-paywall-gift-subscription-redeem input[type="password"] {
	width: 100%;
	border: 1px solid var(--wp--preset--color--black);
	border-radius: 0;
	font-size: var(--wp--preset--font-size--small);
	padding: 0.9rem 1.1rem;
}

.leaky-paywall-gift-redemption-shortcode .lp-gift-sub-field-label {
	display: block;
}

.leaky-paywall-gift-redemption-shortcode #submit {
	min-width: 200px;
	display: inline-block;
	text-align: center;
	word-break: break-word;
	background-color: #016B83;
	color: #fff;
	border: 1px solid #204AA7;
	border-radius: 3px;
	padding: 1rem 2rem;
	margin-top: 1rem;
	text-decoration: none;
	font-size: medium;
	cursor: pointer;
	text-transform: uppercase;
}

.leaky-paywall-gift-redemption-shortcode #submit:hover {
	text-decoration: underline;
}

.leaky-paywall-gift-redemption-shortcode #submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}