/* Checkout widget styles (extracted from widget-checkout-form.php) */

.agp-checkout-section {
	padding: 60px 20px;
}
.agp-checkout-container {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 40px;
}
.agp-checkout-summary {
	/* Set per-instance via inline CSS variable on the summary container. */
	background-color: var(--agp-checkout-left-bg, #f4fbf7);
	border-radius: 16px;
	padding: 32px;
}
.agp-checkout-summary-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
.agp-checkout-app-name {
	font-size: 16px;
	font-weight: 500;
}
.agp-checkout-headline {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 8px;
}
.agp-checkout-trial-title {
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 4px;
}
.agp-checkout-trial-subtitle {
	font-size: 14px;
	color: #4b5563;
	margin-bottom: 32px;
}
.agp-checkout-features-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
}
.agp-checkout-badge {
	font-size: 13px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 999px;
	background-color: #e5f5ef;
}
.agp-checkout-features-description {
	font-size: 13px;
	color: #4b5563;
	margin-bottom: 24px;
}
.agp-checkout-divider {
	height: 1px;
	background-color: #e5e7eb;
	margin: 16px 0;
}
.agp-checkout-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	margin-bottom: 8px;
}
.agp-checkout-subtotal {
	font-weight: 500;
}
.agp-checkout-total-row {
	margin-top: 16px;
	font-size: 13px;
}
.agp-checkout-total-row .label {
	color: #4b5563;
}
.agp-checkout-total-row .value {
	font-weight: 500;
}
.agp-checkout-promo-area {
	margin: 12px 0;
}
.agp-checkout-promo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	background-color: #f3f4f6;
	font-size: 13px;
	cursor: pointer;
}
.agp-checkout-promo-row {
	display: flex;
	gap: 12px;
	margin-top: 10px;
	align-items: flex-start;
}
.agp-checkout-promo-row .agp-checkout-promo-input-row {
	display: flex;
	gap: 10px;
	align-items: center;
	flex: 1;
	min-width: 0;
}
.agp-checkout-promo-row .agp-checkout-promo-input-row .agp-checkout-input {
	flex: 1;
	min-width: 0;
}
.agp-checkout-promo-apply-btn {
	flex-shrink: 0;
	padding: 10px 18px;
	border-radius: 6px;
	border: 1px solid var(--agp-teal);
	background-color: var(--agp-teal);
	font-family: Sora, sans-serif;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	box-sizing: border-box;
}
.agp-checkout-promo-apply-btn:hover {
	background-color: #059669;
	border-color: #059669;
}
.agp-checkout-promo-field .agp-checkout-form-label {
	margin-bottom: 6px;
}
.agp-checkout-promo-hint {
	font-size: 12px;
	color: #6b7280;
	margin: 4px 0 0;
}
.agp-checkout-promo-feedback {
	margin-top: 6px;
	font-size: 13px;
}
.agp-checkout-promo-feedback.agp-promo-success {
	color: var(--agp-teal);
}
.agp-checkout-promo-feedback.agp-promo-error {
	color: #ef4444;
}
.agp-checkout-promo-applied {
	margin-top: 10px;
	display: none;
}
.agp-checkout-promo-applied.is-visible {
	display: block;
}
.agp-checkout-promo-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 6px 8px 6px 10px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.agp-checkout-promo-chip-icon {
	display: inline-flex;
	color: #4b5563;
}
.agp-checkout-promo-chip-code {
	font-size: 13px;
	font-weight: 700;
	color: #111827;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.agp-checkout-promo-chip-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: #e5e7eb;
	border-radius: 4px;
	color: #4b5563;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
}
.agp-checkout-promo-chip-close:hover {
	background: #d1d5db;
	color: #111827;
}
.agp-checkout-promo-applied-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
}
.agp-checkout-promo-applied-discount-text {
	font-size: 12px;
	color: var(--agp-teal);
	font-weight: 500;
}
.agp-checkout-promo-applied-discount-value {
	font-size: 13px;
	font-weight: 600;
	color: #111827;
}
.agp-checkout-form-card {
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	padding: 32px 28px;
}
.agp-checkout-form-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 24px;
}
.agp-checkout-form-group {
	margin-bottom: 16px;
}
.agp-checkout-form-label {
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
	font-weight: 500;
}
.agp-checkout-input {
	width: 100%;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	padding: 10px 12px;
	font-size: 14px;
	box-sizing: border-box;
}
.agp-checkout-input:focus {
	outline: none;
	border-color: var(--agp-teal);
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.agp-checkout-input.agp-checkout-input-error {
	border-color: #ef4444;
	box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}
.agp-checkout-email-feedback {
	margin-top: 4px;
	font-size: 12px;
	color: #ef4444;
}
.agp-checkout-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.agp-checkout-payment-title {
	font-size: 14px;
	font-weight: 500;
	margin-top: 16px;
	margin-bottom: 8px;
}
.agp-checkout-payment-placeholder {
	font-size: 13px;
	color: #6b7280;
	padding: 12px;
	border-radius: 8px;
	border: 1px dashed #d1d5db;
	background-color: #f9fafb;
}
.agp-checkout-submit-btn {
	margin-top: 24px;
	font-family: Sora, sans-serif;
	width: 100%;
	border-radius: 999px;
	border: none;
	padding: 12px 16px;
	background-color: var(--agp-teal);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.agp-checkout-submit-btn:hover {
	background-color: #059669;
}
@media (max-width: 900px) {
	.agp-checkout-container {
		grid-template-columns: 1fr;
	}
}

