/* Subscription Checkout Styles */
.hidden-element { display: none !important; }
.sub-checkout-section { padding: 140px 0 60px; min-height: 80vh; display: flex; align-items: center; background-color: #f8fafc; }
.sub-checkout-wrapper { display: flex; max-width: 900px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); overflow: hidden; }
.sub-plan-card { width: 40%; background: linear-gradient(135deg, #0f172a, #1e293b); padding: 40px; color: #fff; display: flex; flex-direction: column; }
.sub-plan-badge { background: rgba(255,255,255,0.2); display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 20px; align-self: flex-start; text-transform: uppercase; letter-spacing: 1px; }
.sub-plan-name { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.sub-plan-price { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: #10b981; }
.sub-plan-price span { font-size: 14px; font-weight: 400; color: #94a3b8; }
.sub-plan-desc { font-size: 14px; color: #cbd5e1; margin-bottom: 24px; line-height: 1.6; }
.sub-plan-features { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.sub-plan-features li { display: flex; align-items: center; font-size: 14px; margin-bottom: 12px; color: #e2e8f0; }
.sub-feature-icon { margin-right: 10px; color: #10b981; font-weight: bold; }
.sub-gst-note { font-size: 12px; color: #94a3b8; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
.sub-form-card { width: 60%; padding: 40px; }
.sub-form-title { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.sub-form-sub { font-size: 14px; color: #64748b; margin-bottom: 30px; }
.sub-field { margin-bottom: 20px; }
.sub-field label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 8px; }
.sub-field .req { color: #ef4444; }
.sub-input { width: 100%; border: 1px solid #cbd5e1; padding: 12px 16px; border-radius: 8px; font-size: 15px; transition: border-color 0.3s; }
.sub-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.sub-hint { display: block; font-size: 12px; color: #94a3b8; margin-top: 6px; }
.sub-phone-wrap { display: flex; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; transition: border-color 0.3s; }
.sub-phone-wrap:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.sub-phone-code { background: #f8fafc; padding: 12px 16px; font-weight: 600; color: #475569; border-right: 1px solid #cbd5e1; }
.sub-phone-wrap .sub-input { border: none; border-radius: 0; box-shadow: none; }
.sub-error { display: block; font-size: 12px; color: #ef4444; margin-top: 6px; }
.sub-server-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 12px; border-radius: 8px; font-size: 13px; margin-bottom: 20px; }
.sub-pay-btn { width: 100%; background: #3b82f6; color: #fff; border: none; padding: 14px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s; margin-top: 10px; }
.sub-pay-btn:hover { background: #2563eb; }
.sub-pay-btn:disabled { background: #94a3b8; cursor: not-allowed; }
.sub-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.sub-secure-note { text-align: center; font-size: 12px; color: #64748b; margin-top: 20px; }
.sub-secure-note i { color: #10b981; margin-right: 4px; }

/* Success Page */
.sub-success-section { padding: 80px 0; min-height: 70vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.sub-success-card { background: #fff; max-width: 500px; width: 100%; margin: 0 auto; padding: 50px 40px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); text-align: center; border-top: 5px solid #10b981; }
.sub-success-icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: rgba(16, 185, 129, 0.1); color: #10b981; border-radius: 50%; font-size: 40px; margin-bottom: 25px; }
.sub-success-title { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.sub-success-msg { color: #64748b; font-size: 15px; margin-bottom: 30px; line-height: 1.6; }
.sub-success-details { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; text-align: left; margin-bottom: 25px; }
.sub-success-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; font-size: 14px; }
.sub-success-row:last-child { margin-bottom: 0; }
.sub-success-row span { color: #64748b; white-space: nowrap; }
.sub-success-row strong { color: #0f172a; font-weight: 600; text-align: right; word-break: break-all; }
.sub-status-active { color: #10b981 !important; }
.sub-invoice-note { font-size: 13px; color: #64748b; margin-bottom: 30px; }
.sub-invoice-note i { color: #3b82f6; margin-right: 5px; }
.sub-success-actions { display: flex; gap: 15px; justify-content: center; }
.sub-btn-primary { background: #3b82f6; color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; transition: background 0.3s; }
.sub-btn-primary:hover { background: #2563eb; color: #fff; }
.sub-btn-secondary { background: #f1f5f9; color: #334155; text-decoration: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; transition: background 0.3s; }
.sub-btn-secondary:hover { background: #e2e8f0; color: #334155; }

@media (max-width: 768px) {
    .sub-checkout-wrapper { flex-direction: column; }
    .sub-plan-card, .sub-form-card { width: 100%; }
}