/**
 * BTM Stripe Checkout Styles
 *
 * Minimal styles for the checkout intermediate page,
 * success page, and My Subscription page.
 *
 * Buttons intentionally omit background/color/border overrides
 * so the site's global button styles (green gradient, Oswald font,
 * uppercase) apply via style.css.
 */

/* ---- Card Container (shared) ---- */

.btm-checkout-form-wrapper,
.btm-checkout-success,
.btm-my-subscription,
.btm-checkout-error,
.btm-checkout-message {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}


/* ---- Checkout Intermediate Page ---- */

.btm-checkout-form-wrapper {
	max-width: 480px;
	margin: 0 auto;
	padding: 32px;
}

.btm-checkout-plan-summary {
	text-align: center;
	margin-bottom: 30px;
}

.btm-checkout-plan-summary h2 {
	margin-bottom: 20px;
	font-size: 26px;
}

.btm-plan-selected {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.btm-plan-selected strong {
	font-size: 16px;
}

.btm-plan-price {
	font-size: 18px;
	font-weight: bold;
	color: #28a745;
}

.btm-checkout-error-message {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.btm-checkout-error-message a {
	color: #721c24;
	font-weight: bold;
	text-decoration: underline;
}

.btm-checkout-email-form {
	margin-bottom: 20px;
}

.btm-form-field {
	margin-bottom: 15px;
}

.btm-form-field label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 14px;
}

.btm-form-field input[type="email"] {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	box-sizing: border-box;
}

.btm-form-field input[type="email"]:focus {
	border-color: #28a745;
	outline: none;
	box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.btm-checkout-terms-notice {
	font-size: 13px;
	color: #6c757d;
	text-align: center;
	margin-bottom: 15px;
}

.btm-checkout-terms-notice a {
	color: #495057;
	text-decoration: underline;
}

.btm-checkout-submit-btn {
	width: 100%;
	padding: 14px 20px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
}

.btm-checkout-login-link {
	text-align: center;
	margin-top: 15px;
	font-size: 14px;
	color: #6c757d;
}

.btm-checkout-trust-badges {
	text-align: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #dee2e6;
	font-size: 13px;
	color: #6c757d;
}

.btm-checkout-trust-badges .fa {
	margin-right: 4px;
}


/* ---- Success Page ---- */

.btm-checkout-success {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 32px;
}

.btm-checkout-success h2 {
	color: #333;
	margin-bottom: 15px;
}

.btm-success-new-user-notice {
	background: #eceef1;
	border: 1px solid #dde0e4;
	border-radius: 6px;
	padding: 20px;
	margin: 20px 0;
}

.btm-success-new-user-notice h3 {
	margin-top: 0;
	color: #333;
}


/* ---- My Subscription Page ---- */

.btm-my-subscription {
	max-width: 600px;
	margin: 0 auto;
	padding: 32px;
}

.btm-subscription-details {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.btm-subscription-details th,
.btm-subscription-details td {
	padding: 12px 16px;
	text-align: left;
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
}

.btm-subscription-details th {
	width: 40%;
	font-weight: bold;
	color: #495057;
	background-color: transparent;
}

.btm-subscription-details tr:nth-child(even) {
	background-color: #f8f9fa;
}

.btm-status-badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.btm-status-active {
	background: #d4edda;
	color: #155724;
}

.btm-status-canceling {
	background: #fff3cd;
	color: #856404;
}

.btm-status-inactive {
	background: #f8d7da;
	color: #721c24;
}

.btm-manage-subscription-form {
	margin: 20px 0;
}

.btm-manage-btn {
	padding: 12px 24px !important;
	font-size: 16px !important;
	cursor: pointer;
}

.btm-portal-note {
	color: #6c757d;
	margin-top: 5px;
}

.btm-subscription-expired-notice {
	background: #eceef1;
	border: 1px solid #dde0e4;
	border-radius: 6px;
	padding: 20px;
	margin: 20px 0;
}

.btm-subscription-expired-notice h3 {
	margin-top: 0;
	color: #333;
}

.btm-renew-options {
	margin: 20px 0;
	text-align: center;
}

.btm-renew-btn {
	display: block !important;
	width: 100%;
	text-align: center;
	margin: 0 0 12px 0;
	border-radius: 4px !important;
	text-decoration: none !important;
	font-family: "Oswald", serif;
	text-transform: uppercase;
	font-weight: bold;
	box-sizing: border-box;
}

.btm-renew-primary {
	padding: 18px 24px !important;
	font-size: 20px !important;
}

.entry-content .btm-renew-secondary.btm-renew-secondary {
	padding: 14px 24px !important;
	font-size: 16px !important;
	background: #fff !important;
	background-image: none !important;
	border: 2px solid #6c9e1b !important;
	color: #6c9e1b !important;
	text-shadow: none !important;
}

.entry-content .btm-renew-secondary.btm-renew-secondary:hover {
	background: #f0f9e0 !important;
	background-image: none !important;
}

.btm-renew-confidence {
	text-align: center;
	color: #999;
	font-size: 13px;
	margin-top: 8px;
}

.btm-subscribe-btn {
	padding: 12px 24px !important;
	font-size: 16px !important;
}


/* ---- Error States ---- */

.btm-checkout-error {
	max-width: 600px;
	margin: 0 auto;
	padding: 40px;
	text-align: center;
}

.btm-checkout-message {
	max-width: 600px;
	margin: 0 auto;
	padding: 40px;
	text-align: center;
}
