/**
 * JA Funnels Popup Styles
 * Matching JA Checkout design exactly
 * v1.6.0
 */

/* Popup Overlay */
.jaf-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.jaf-popup-overlay.active { display: flex; }

/* Fix emoji images converted by theme/plugin */
.jaf-popup-card img.emoji,
.jaf-popup-card img.wp-smiley,
.jaf-popup-card img[src*="emoji"],
.jaf-popup-card img[src*="twemoji"],
.jaf-popup-card svg.emoji {
    width: 1em !important;
    height: 1em !important;
    display: inline !important;
    vertical-align: -0.1em !important;
    margin: 0 2px !important;
    box-shadow: none !important;
    background: none !important;
}

/* Popup Card */
.jaf-popup-card {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Close Button */
.jaf-popup-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
    z-index: 10;
}
.jaf-popup-close:hover { background: #e5e7eb; color: #374151; }

/* Header */
.jaf-popup-header {
    padding: 28px 28px 0;
    text-align: center;
}
.jaf-popup-header h2 {
    margin: 0 0 6px;
    line-height: 1.3;
    font-weight: 600;
}
.jaf-popup-header .jaf-product-name {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Recent Buyer Badge */
.jaf-recent-buyer {
    margin-top: 12px;
    padding: 8px 14px;
    background: #f0fdf4;
    border-radius: 20px;
    font-size: 13px;
    color: #166534;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: jaf-fade-in 0.3s ease;
}
.jaf-buyer-name { font-weight: 600; }
.jaf-buyer-action { opacity: 0.9; }
.jaf-buyer-time { opacity: 0.7; font-size: 12px; }

@keyframes jaf-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Body */
.jaf-popup-body { padding: 20px 28px 28px; }

/* Loading State */
.jaf-loading {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}
.jaf-loading-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 16px;
}
.jaf-loading-bar-inner {
    height: 100%;
    width: 30%;
    border-radius: 4px;
    animation: jaf-loading-slide 1.2s ease-in-out infinite;
}
@keyframes jaf-loading-slide {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(250%); }
    100% { transform: translateX(-100%); }
}

/* Seats Left Badge */
.jaf-seats-left {
    text-align: center;
    padding: 12px;
    margin-top: 16px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 14px;
}
.jaf-seats-left img,
.jaf-seats-left svg {
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
.jaf-seats-left strong { font-weight: 700; }

/* Session Banner (for webinars) */
.jaf-session-banner {
    text-align: center;
    padding: 12px;
    margin-bottom: 16px;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 14px;
    color: #1e40af;
}
.jaf-session-banner.urgency-mode {
    background: #fef2f2;
    color: #991b1b;
}

/* Footer */
.jaf-popup-footer {
    margin-top: 16px;
    text-align: center;
}
.jaf-price-display { margin-bottom: 12px; }
.jaf-original-price {
    text-decoration: line-through;
    margin-right: 8px;
    opacity: 0.5;
}
.jaf-current-price {
    font-size: 1.25em;
    font-weight: 700;
}
.jaf-secure-badge {
    opacity: 0.6;
    font-size: 13px;
}
.jaf-secure-badge img,
.jaf-secure-badge svg {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Form Styles */
#jaf-form-container .woocommerce-checkout { margin: 0; padding: 0; }
#jaf-form-container .woocommerce-billing-fields__field-wrapper,
.jaf-woo-form .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
#jaf-form-container .form-row,
.jaf-woo-form .form-row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}
#jaf-form-container .form-row-first,
#jaf-form-container .form-row-last,
.jaf-woo-form .form-row-first,
.jaf-woo-form .form-row-last {
    width: 100% !important;
    float: none !important;
}
#jaf-form-container label,
.jaf-woo-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
#jaf-form-container label abbr,
.jaf-woo-form label abbr {
    color: #ef4444;
    text-decoration: none;
}
#jaf-form-container label .optional,
.jaf-woo-form label .optional {
    display: none;
}
#jaf-form-container input[type="text"],
#jaf-form-container input[type="email"],
#jaf-form-container input[type="tel"],
#jaf-form-container textarea,
#jaf-form-container select,
.jaf-woo-form input[type="text"],
.jaf-woo-form input[type="email"],
.jaf-woo-form input[type="tel"],
.jaf-woo-form textarea,
.jaf-woo-form select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}
#jaf-form-container textarea,
.jaf-woo-form textarea {
    height: auto !important;
    min-height: 80px !important;
    padding: 12px 14px !important;
}
#jaf-form-container input:focus,
#jaf-form-container textarea:focus,
#jaf-form-container select:focus,
.jaf-woo-form input:focus,
.jaf-woo-form textarea:focus,
.jaf-woo-form select:focus {
    border-color: var(--jaf-btn-color, #10b981) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Simple form (free funnels) */
.jaf-simple-form .jaf-form-group { margin-bottom: 14px; }
.jaf-simple-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
.jaf-simple-form input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}
.jaf-simple-form input:focus {
    border-color: var(--jaf-btn-color, #10b981);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Submit Button */
.jaf-submit-wrap { margin-top: 20px; }

.jaf-submit-btn,
.jaf-woo-submit,
#jaf-form-container button[type="submit"],
.jaf-woo-form button[type="submit"] {
    width: 100% !important;
    height: 52px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: var(--jaf-btn-color, #10b981) !important;
    color: var(--jaf-btn-text-color, #fff) !important;
}
.jaf-submit-btn:hover,
.jaf-woo-submit:hover,
#jaf-form-container button[type="submit"]:hover,
.jaf-woo-form button[type="submit"]:hover { 
    opacity: 0.9 !important; 
}
.jaf-submit-btn:disabled,
.jaf-woo-submit:disabled,
#jaf-form-container button[type="submit"]:disabled,
.jaf-woo-form button[type="submit"]:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Field Hints */
.jaf-field-hint {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.jaf-hint-icon { font-size: 12px; }

/* Hide WooCommerce elements we don't need */
#jaf-form-container #payment,
#jaf-form-container .woocommerce-checkout-payment,
#jaf-form-container .payment_box,
#jaf-form-container .woocommerce-privacy-policy-text,
#jaf-form-container .woocommerce-terms-and-conditions-wrapper,
#jaf-form-container .woocommerce-additional-fields,
.jaf-popup-body .payment_method_paystack,
.jaf-popup-body #payment,
.jaf-woo-form #payment,
.jaf-woo-form .woocommerce-checkout-payment,
.jaf-woo-form .payment_box,
.jaf-woo-form .woocommerce-privacy-policy-text,
.jaf-woo-form .woocommerce-checkout-review-order {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Success Message */
.jaf-popup-success {
    text-align: center;
    padding: 20px 0;
}
.jaf-success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.jaf-success-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}
.jaf-success-message {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.5;
}
.jaf-redirect-text {
    font-size: 13px;
    color: #9ca3af;
}

/* Error Message */
.jaf-popup-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.jaf-woo-form .woocommerce-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    list-style: none;
    margin-left: 0;
    padding-left: 12px;
}

/* Sticky Bar */
.jaf-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 12px 20px;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.jaf-sticky-bar.visible { transform: translateY(0); }
.jaf-sticky-bar.hidden { transform: translateY(100%); }

.jaf-sticky-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.jaf-sticky-countdown {
    background: #fef3c7;
    color: #92400e;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}
.jaf-sticky-text {
    font-size: 14px;
    color: #374151;
}

.jaf-sticky-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .jaf-popup-overlay { padding: 10px; }
    .jaf-popup-card { border-radius: 12px; }
    .jaf-popup-header, .jaf-popup-body { padding-left: 20px; padding-right: 20px; }
    
    .jaf-sticky-bar {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }
    .jaf-sticky-btn { width: 100%; }
}

/* ================================
   DIRECT CHECKOUT STYLES
   ================================ */

.jaf-direct-container {
    width: 100%;
    max-width: 480px;
}

.jaf-direct-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.jaf-direct-header {
    padding: 32px 32px 0;
    text-align: center;
}

.jaf-direct-header h1 {
    margin: 0 0 8px;
    line-height: 1.3;
    font-weight: 700;
}

.jaf-direct-product {
    margin: 0 0 16px;
    font-size: 15px;
    color: #6b7280;
}

.jaf-direct-body {
    padding: 28px 32px 32px;
}

.jaf-direct-footer {
    margin-top: 24px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.jaf-direct-footer .jaf-current-price {
    font-size: 24px;
}

.jaf-powered-by {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #9ca3af;
}

/* Direct page loading spinner */
.jaf-direct-body .jaf-loading {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}
.jaf-loading-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--jaf-btn-color, #10b981);
    border-radius: 50%;
    animation: jaf-spin 1s linear infinite;
}

@keyframes jaf-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
    .jaf-direct-header, .jaf-direct-body {
        padding-left: 24px;
        padding-right: 24px;
    }
    .jaf-direct-header h1 {
        font-size: 22px;
    }
}

/* ================================
   URGENCY SHORTCODE STYLES
   ================================ */

/* Urgency Bar (shortcode) */
.jaf-urgency-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #c75b39;
    color: #fff;
    padding: 14px 24px;
    border-radius: 0;
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.jaf-urgency-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.3);
}

.jaf-urgency-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jaf-urgency-dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: jaf-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

@keyframes jaf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.jaf-urgency-countdown {
    font-size: 28px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}


.jaf-urgency-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.jaf-urgency-date {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

/* Session Banner Urgency Content */
.jaf-session-banner {
    text-align: center;
    padding: 12px 16px;
    background: #eff6ff;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    color: #1e40af;
    margin: -28px -28px 20px -28px;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.jaf-session-banner .jaf-session-date {
    font-weight: 500;
    margin-bottom: 4px;
}

.jaf-session-banner .jaf-session-countdown {
    font-size: 13px;
    opacity: 0.9;
}

.jaf-session-banner .jaf-urgency-content {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.jaf-session-banner.urgency-mode {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border-bottom-color: rgba(153, 27, 27, 0.1);
}

.jaf-session-banner.urgency-mode .jaf-session-date,
.jaf-session-banner.urgency-mode .jaf-session-countdown {
    display: none;
}

.jaf-session-banner.urgency-mode .jaf-urgency-content {
    display: flex;
}

.jaf-session-banner .jaf-urgency-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: jaf-pulse 1s ease-in-out infinite;
}

.jaf-session-banner .jaf-urgency-label {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.jaf-session-banner .jaf-urgency-timer {
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Urgency color classes */
.jaf-urgency-green .jaf-urgency-dot { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
.jaf-urgency-blue .jaf-urgency-dot { background: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); }
.jaf-urgency-orange .jaf-urgency-dot { background: #f97316; box-shadow: 0 0 8px rgba(249, 115, 22, 0.6); }

/* Sticky Bar Styles */
.jaf-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 0;
    z-index: 99998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.jaf-sticky-bar.visible { transform: translateY(0); }
.jaf-sticky-bar.hidden { transform: translateY(100%); }

.jaf-sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.jaf-sticky-bar-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jaf-sticky-bar-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #dc2626;
}

.jaf-sticky-bar-dot {
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: jaf-pulse 1.5s ease-in-out infinite;
}

.jaf-sticky-bar-session {
    font-size: 14px;
    color: #374151;
}

.jaf-sticky-bar-countdown {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.jaf-sticky-bar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--jaf-btn-color, #10b981);
    color: var(--jaf-btn-text-color, #fff);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.jaf-sticky-bar-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.jaf-sticky-bar-seats {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

@media (max-width: 640px) {
    .jaf-sticky-bar-inner {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .jaf-sticky-bar-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .jaf-sticky-bar-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .jaf-urgency-bar {
        padding: 12px 16px;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .jaf-urgency-bar .jaf-urgency-countdown {
        font-size: 22px;
    }
    
    .jaf-urgency-bar .jaf-urgency-date {
        font-size: 13px;
    }
    
    .jaf-urgency-bar .jaf-urgency-divider {
        height: 28px;
    }
}

/* ===========================================
   Paid Funnel Button - Price Inside
   =========================================== */
.jaf-submit-btn-paid {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px !important;
    height: auto !important;
}

.jaf-submit-btn-paid .jaf-btn-text {
    font-size: 16px;
    font-weight: 600;
}

.jaf-submit-btn-paid .jaf-btn-price {
    font-size: 17px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
}

/* Remove WooCommerce price styling inside button */
.jaf-submit-btn-paid .jaf-btn-price .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.jaf-submit-btn-paid .jaf-btn-price .woocommerce-Price-currencySymbol {
    color: inherit;
}

/* Mobile adjustment */
@media (max-width: 480px) {
    .jaf-submit-btn-paid {
        padding: 12px 14px !important;
    }
    
    .jaf-submit-btn-paid .jaf-btn-text {
        font-size: 14px;
    }
    
    .jaf-submit-btn-paid .jaf-btn-price {
        font-size: 15px;
        padding: 5px 10px;
    }
}

/* ===========================================
   Countdown Header - Option A Bold Design
   =========================================== */
.jaf-countdown-header {
    background: linear-gradient(135deg, #c75b39 0%, #a84832 100%);
    color: #fff;
    padding: 16px 24px;
    margin: 0 -5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

.jaf-countdown-left {
    display: flex;
    flex-direction: column;
}

.jaf-countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-bottom: 2px;
}

.jaf-countdown-time {
    font-size: 26px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jaf-countdown-right {
    text-align: right;
}

.jaf-live-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.jaf-live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: jaf-pulse 1.5s infinite;
}

@keyframes jaf-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.jaf-countdown-date {
    font-size: 13px;
    opacity: 0.9;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .jaf-countdown-header {
        padding: 14px 18px;
    }
    
    .jaf-countdown-time {
        font-size: 22px;
    }
    
    .jaf-countdown-date {
        font-size: 12px;
    }
}

/* Hide old session banner styles if any remain */
.jaf-session-banner {
    display: none !important;
}

/* ===========================================
   Close Button Position Fix (with countdown header)
   =========================================== */
.jaf-popup-card:has(.jaf-countdown-header) .jaf-popup-close {
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    z-index: 10;
}

/* Ensure loading bar hides when form is loaded */
.jaf-woo-form ~ .jaf-loading,
.jaf-simple-form ~ .jaf-loading {
    display: none !important;
}

/* Hide old session banner completely */
.jaf-session-banner,
.jaf-session-date,
.jaf-session-countdown,
.jaf-urgency-content {
    display: none !important;
}

/* Hide empty error message */
.jaf-popup-error:empty {
    display: none;
}

/* Button loading spinner */
.jaf-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: jaf-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes jaf-spin {
    to { transform: rotate(360deg); }
}

/* Disabled button state */
.jaf-submit-btn-paid:disabled,
.jaf-woo-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Urgency bar label */
.jaf-urgency-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.jaf-urgency-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
