/* TripsPanda Core Exchange & Portal Styles + Built-In Luxury 3D Orb Popup UI */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Hide legacy inline banners & WP notices so only the Luxury Popup displays */
.auth-alert,
.tp-swal-auto,
.wrap .notice,
.wrap .updated,
.wrap .error,
.wrap .settings-error,
div.settings-error {
    display: none !important;
}

/* ==========================================================================
   TRIPSPANDA PROFESSIONAL ENTERPRISE POPUP & TOAST UI
   ========================================================================== */
.tp-lux-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483640 !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    background: rgba(15, 23, 42, 0.65) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
}

.tp-lux-toast-wrap {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 2147483645 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    pointer-events: none !important;
    max-width: min(380px, 92vw) !important;
    width: 100% !important;
}

@keyframes tpModalFadeIn {
    0%   { transform: translateY(8px) scale(0.98); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes tpToastSlideIn {
    0%   { transform: translateX(24px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes tpToastProgress {
    0%   { width: 100%; }
    100% { width: 0%; }
}

.tp-swal-popup {
    position: relative !important;
    overflow: hidden !important;
    background: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 3px solid var(--tp-accent-solid, #10b981) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.35) !important;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    width: min(420px, 94vw) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
}

.tp-swal-popup:not(.swal2-hide) {
    animation: tpModalFadeIn 0.18s ease-out;
}

.tp-swal-theme-success {
    --tp-accent-solid: #10b981;
    --tp-accent-soft: rgba(16, 185, 129, 0.12);
    --tp-accent-border: rgba(16, 185, 129, 0.3);
    --tp-btn-bg: #10b981;
    --tp-btn-hover: #059669;
    --tp-btn-text: #ffffff;
}

.tp-swal-theme-error {
    --tp-accent-solid: #ef4444;
    --tp-accent-soft: rgba(239, 68, 68, 0.12);
    --tp-accent-border: rgba(239, 68, 68, 0.3);
    --tp-btn-bg: #ef4444;
    --tp-btn-hover: #dc2626;
    --tp-btn-text: #ffffff;
}

.tp-swal-theme-warning {
    --tp-accent-solid: #f59e0b;
    --tp-accent-soft: rgba(245, 158, 11, 0.12);
    --tp-accent-border: rgba(245, 158, 11, 0.3);
    --tp-btn-bg: #d97706;
    --tp-btn-hover: #b45309;
    --tp-btn-text: #ffffff;
}

.tp-swal-theme-info,
.tp-swal-theme-question {
    --tp-accent-solid: #3b82f6;
    --tp-accent-soft: rgba(59, 130, 246, 0.12);
    --tp-accent-border: rgba(59, 130, 246, 0.3);
    --tp-btn-bg: #2563eb;
    --tp-btn-hover: #1d4ed8;
    --tp-btn-text: #ffffff;
}

.tp-lux-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-align: left;
}

.tp-lux-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--tp-accent-soft);
    border: 1px solid var(--tp-accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tp-lux-icon-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--tp-accent-solid);
}

.tp-lux-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin: 0;
    color: #f8fafc !important;
    line-height: 1.35;
    text-align: left;
}

.tp-lux-msg-box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    margin-top: 4px;
}

.tp-lux-actions {
    margin-top: 18px !important;
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

.tp-swal-confirm {
    background: var(--tp-btn-bg, #2563eb) !important;
    color: var(--tp-btn-text, #ffffff) !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease !important;
}

.tp-swal-confirm:hover {
    background: var(--tp-btn-hover, #1d4ed8) !important;
}

.tp-swal-cancel {
    background: transparent !important;
    color: #cbd5e1 !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.tp-swal-cancel:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.tp-swal-input {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    margin: 12px 0 4px !important;
}

.tp-swal-input:focus {
    border-color: var(--tp-accent-solid, #3b82f6) !important;
    box-shadow: 0 0 0 2px var(--tp-accent-soft, rgba(59, 130, 246, 0.2)) !important;
    outline: none !important;
}

.tp-lux-toast {
    pointer-events: auto !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 13px 16px !important;
    border-radius: 10px !important;
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 4px solid var(--tp-accent-solid, #10b981) !important;
    color: #f8fafc !important;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45) !important;
    animation: tpToastSlideIn 0.22s ease-out !important;
    width: 100% !important;
}

/* ==========================================================================
   CORE TRIPSPANDA EXCHANGE STYLES
   ========================================================================== */
.tp-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #151b26;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    margin: 20px 0;
    color: #ffffff;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

.tp-wrap div[style*="overflow-x:auto"] {
    overflow-y: hidden !important;
}

.tp-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.tp-tag {
    background: rgba(0, 229, 153, 0.15);
    color: #00e599;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}

.tp-table {
    width: 100%;
    border-collapse: collapse !important;
    border: none !important;
    text-align: left;
    margin: 15px 0;
}
.tp-market-header-pills {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .tp-header-pill {
        display: inline-flex;
        align-items: center;
        background: rgba(0, 229, 153, 0.08);
        border: 1px solid rgba(0, 229, 153, 0.28);
        padding: 0 14px;
        border-radius: 999px;
        height: 32px;
        box-sizing: border-box;
    }

.tp-table th {
    background: #070a0f;
    color: #ffffff;
    padding: 12px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.tp-table td {
    padding: 12px 14px;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 13.5px;
    color: #cbd5e1;
    vertical-align: middle;
}

.tp-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11.5px;
    display: inline-block;
}

.tp-profit {
    color: #00e599;
}

.tp-profit small {
    display: block;
    color: #94a3b8;
    font-size: 11px;
}

.tp-btn {
    background: #00e599;
    color: #05140d;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    max-width: 100%;
}

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

.tp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tp-grid-2,
.tp-wallet-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.tp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.tp-form input,
.tp-form textarea,
.tp-form select {
    width: 100%;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-top: 5px;
    background: #0d121c;
    color: #ffffff;
    font-family: inherit;
}

.tp-form input:focus,
.tp-form textarea:focus,
.tp-form select:focus {
    border-color: #00e599;
    outline: none;
}

.tp-split-box,
.tp-card {
    background: #0d121c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.tp-card h2 {
    margin: 8px 0 0 0;
    font-size: clamp(20px, 4vw, 28px);
    color: #00e599;
}

.tp-profit-preview {
            display: flex;
            flex-direction: column;
            gap: 4px;
            font-size: 12px;
        }

.tp-recharge-section {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.tp-recharge-section input {
    width: 260px;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #070a0f;
    color: #ffffff;
    border-radius: 8px;
}

.tp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 14px;
}

.tp-modal.active {
    display: flex;
}

.tp-modal-content {
    background: #151b26;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px;
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.tp-notice {
    background: #151b26;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    margin: 15px 0;
}

.tp-notice a {
    color: #00e599;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .tp-wrap {
        padding: 14px 12px;
        margin: 10px 0;
        overflow: visible !important;
    }
    .tp-wrap div[style*="overflow-x:auto"] {
        overflow: visible !important;
    }
    .tp-grid-2,
    .tp-grid-3,
    .tp-wallet-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tp-recharge-section {
        flex-direction: column;
        align-items: stretch;
    }
    .tp-recharge-section input,
    .tp-recharge-section .tp-btn {
        width: 100%;
    }
    .tp-btn {
        white-space: normal;
        font-size: 12px;
        padding: 9px 12px;
    }
    input, select, textarea,
    .tp-form input, .tp-form textarea, .tp-form select,
    .tp-recharge-section input {
        font-size: 16px !important;
        touch-action: manipulation !important;
    }
    a, button, .tp-btn {
        touch-action: manipulation !important;
    }
	
	}

/* ==========================================================================
   COMPACT EXCHANGE CONTAINER, FLOATING SEARCH FAB & POPUP FILTER MODAL
   ========================================================================== */
.tp-market-wrap {
    padding: 16px 18px !important;
}

.tp-market-header-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
}

.tp-market-header-bar h3 {
    margin: 0 !important;
    font-size: 16px !important;
}

.tp-market-header-pills {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    width: auto !important;
}

.tp-header-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #0b111d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    height: 26px !important;
}

.tp-header-pill select#tp-market-state-select {
    background: transparent !important;
    border: none !important;
    color: #00e599 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    outline: none !important;
    cursor: pointer !important;
    padding: 0 14px 0 0 !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2211%22%20height%3D%2211%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2300e599%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: 10px !important;
    color-scheme: dark;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 130px;
    height: 20px !important;
    line-height: 20px !important;
}

/* Active Filter Indicator Banner */
.tp-active-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(0, 229, 153, 0.08);
    border: 1px solid rgba(0, 229, 153, 0.3);
    border-radius: 8px;
    padding: 7px 10px;
    margin-bottom: 10px;
}

.tp-active-filter-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tp-filter-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e599;
    box-shadow: 0 0 8px #00e599;
}

.tp-active-chip {
    background: #0f172a;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.tp-clear-chip-btn {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Floating Search / Filter Action Button (FAB) */
.tp-fab-filter-wrap {
    position: fixed;
    bottom: 22px;
    right: 18px;
    z-index: 99990;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hide FAB when user switches away from Market tab */
.hub-tab-pane#pane-market:not(.active) ~ .tp-fab-filter-wrap,
#pane-market:not(.active) .tp-fab-filter-wrap {
    display: none !important;
}

.tp-fab-search-btn {
    background: linear-gradient(135deg, #00e599 0%, #059669 100%);
    color: #04130c;
    border: none;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 229, 153, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-fab-search-btn.has-active-filter {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.45);
}

.tp-fab-badge {
    background: #0f172a;
    color: #00e599;
    font-size: 11px;
    font-weight: 800;
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.tp-fab-clear-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    border: 2px solid #0c111a;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.45);
}

/* Filter Popup Modal */
.tp-filter-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100050;
    background: rgba(8, 12, 20, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.tp-filter-modal-card {
    background: #151b26;
    border: 1px solid rgba(0, 229, 153, 0.3);
    border-radius: 14px;
    width: min(400px, 94vw);
    padding: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: tpModalFadeIn 0.18s ease-out;
}

.tp-filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.tp-filter-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #cbd5e1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
    line-height: 1;
}

.tp-filter-field {
    margin-bottom: 12px;
}

.tp-filter-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 5px;
}

.tp-filter-field select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #090d14 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 13.5px !important;
    outline: none;
    color-scheme: dark;
}

.tp-filter-field select:focus {
    border-color: #00e599 !important;
}

.tp-filter-modal-footer {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.tp-filter-reset-btn {
    flex: 1;
    background: #334155 !important;
    color: #f8fafc !important;
}

.tp-filter-apply-btn {
    flex: 1.4;
    background: #00e599 !important;
    color: #05140d !important;
}

@media (max-width: 768px) {
    .tp-rel-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .tp-rel-row > div:last-child {
        padding-top: 4px !important;
    }
    .tp-rel-row .tp-remove-rel-row {
        width: 100% !important;
    }
    .tp-sell-mode-tabs .tp-btn {
        flex: 1 1 100% !important;
    }

    @media (max-width: 768px) {
        .tp-wrap.tp-market-wrap {
            padding: 10px 8px !important;
        }
        .tp-market-header-bar {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 4px !important;
            margin-bottom: 8px !important;
            padding-bottom: 8px !important;
        }
        .tp-market-title-row {
            flex: 0 1 auto !important;
            min-width: 0 !important;
        }
        .tp-market-title-row h3 {
            font-size: 11.5px !important;
            letter-spacing: -0.3px !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }
        .tp-market-header-pills {
            flex: 0 0 auto !important;
            display: flex !important;
            align-items: center !important;
            gap: 3px !important;
            flex-wrap: nowrap !important;
        }
        .tp-header-pill {
            height: 24px !important;
            min-height: 24px !important;
            padding: 0 5px !important;
            font-size: 9.5px !important;
            gap: 2px !important;
        }
        .tp-header-pill select#tp-market-state-select {
            max-width: 62px !important;
            font-size: 9.5px !important;
            height: 18px !important;
            line-height: 18px !important;
            padding: 0 10px 0 0 !important;
        }
        .tp-header-filter-trigger {
            height: 24px !important;
            width: 26px !important;
            padding: 0 !important;
            justify-content: center !important;
            font-size: 11px !important;
            border-radius: 50% !important;
        }
        .tp-header-filter-trigger span {
            display: none !important;
        }
    }
}
	
/* ==========================================================================
   PROGRESSIVE SELL WIZARD (ONE PAGE AT A TIME: 2a -> 2f) & MOBILE UI
   ========================================================================== */
.tp-sell-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 12px;
    background: #080d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tp-sell-stepper::-webkit-scrollbar {
    display: none;
}

.tp-step-pill {
    flex: 1 1 auto;
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    background: #111827;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
}

.tp-step-pill.active {
    background: linear-gradient(135deg, #00e599 0%, #059669 100%);
    color: #04130c;
    border-color: #00e599;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 229, 153, 0.3);
}

.tp-step-pill.completed {
    background: rgba(0, 229, 153, 0.12);
    color: #00e599;
    border-color: rgba(0, 229, 153, 0.4);
}
.tp-step-pill.completed::before {
    content: "✓ ";
    font-weight: 900;
}

.tp-step-pill.locked {
    opacity: 0.55;
    cursor: not-allowed;
}

.tp-sell-step-card {
    background: #0b121e;
    border: 1px solid rgba(0, 229, 153, 0.22);
    border-top: 3px solid #00e599;
    border-radius: 14px;
    padding: 22px 20px;
    margin-bottom: 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
    animation: tpWizardSlideIn 0.22s ease-out;
}

@keyframes tpWizardSlideIn {
    0%   { opacity: 0; transform: translateX(12px); }
    100% { opacity: 1; transform: translateX(0); }
}

.tp-step-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-step-card-header h4 {
    margin: 0 !important;
    font-size: 15.5px !important;
    color: #f8fafc !important;
}

.tp-step-badge {
    background: #00e599;
    color: #05140d;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}

/* Wizard Page Footer (Back & Next Navigation Bar) */
.tp-wizard-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-wizard-final-footer {
    margin-top: 14px;
    margin-bottom: 4px;
    padding-top: 12px;
}

.tp-wiz-prev-btn,
.tp-wiz-cancel-mode-btn {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 11px 18px !important;
    font-size: 13px !important;
    border-radius: 9px !important;
}
.tp-wiz-prev-btn:hover,
.tp-wiz-cancel-mode-btn:hover {
    background: #334155 !important;
    color: #ffffff !important;
}

.tp-wiz-next-btn {
    background: linear-gradient(135deg, #00e599 0%, #059669 100%) !important;
    color: #04130c !important;
    padding: 11px 22px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 9px !important;
    box-shadow: 0 6px 18px rgba(0, 229, 153, 0.28) !important;
    margin-left: auto;
}

@media (max-width: 768px) {
    .tp-sell-stepper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding: 8px;
    }
    .tp-step-pill {
        flex: 0 0 auto;
        font-size: 11px;
        padding: 7px 11px;
    }
    .tp-sell-step-card {
        padding: 16px 13px;
        border-radius: 12px;
    }
    .tp-wizard-nav-footer {
        flex-direction: row;
        gap: 8px;
    }
    .tp-wiz-prev-btn,
    .tp-wiz-cancel-mode-btn {
        flex: 0 0 auto;
        padding: 11px 14px !important;
        font-size: 12.5px !important;
    }
    .tp-wiz-next-btn {
        flex: 1 1 auto;
        padding: 11px 14px !important;
        font-size: 12.5px !important;
    }
    .tp-itinerary-loader-bar .tp-loader-action-col,
    .tp-web-fetch-controls input,
    .tp-web-fetch-controls .tp-btn {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}