/* ==========================================================================
   TURACG — TRADING POST & ASYNCHRONOUS EXCHANGES STYLES
   ========================================================================== */

.trade-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- Hero Banner --- */
.trade-hero-banner {
    position: relative;
    border-radius: 16px;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15), transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.12), transparent 50%),
                linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.85));
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    overflow: hidden;
}

.trade-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, #f59e0b, transparent);
}

.trade-hero-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.trade-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.trade-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.04em;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.trade-hero-sub {
    font-size: 13.5px;
    color: #94a3b8;
    max-width: 650px;
    line-height: 1.5;
    margin: 0;
}

.trade-hero-stats {
    display: flex;
    gap: 12px;
    z-index: 2;
}

.trade-stat-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 18px;
    text-align: center;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 100px;
}

.trade-stat-num {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
}

.trade-stat-lbl {
    font-size: 10.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- Sub-Navigation Pills --- */
.trade-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 8px 12px;
    backdrop-filter: blur(10px);
}

.trade-nav-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.trade-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 9px 18px;
    color: #94a3b8;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.trade-nav-btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}

.trade-nav-btn.active {
    color: #0f172a;
    background: #fbbf24;
    border-color: #fbbf24;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.4);
}

.trade-badge-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
}

.trade-nav-btn.active .trade-badge-bubble {
    background: #0f172a;
    color: #fbbf24;
}

.btn-propose-new-trade {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid rgba(52, 211, 153, 0.5);
    border-radius: 10px;
    padding: 9px 20px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-propose-new-trade:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, #34d399, #10b981);
}

/* --- Card Mat & Interactive Trade Offer Creator --- */
.trade-creator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trade-creator-config-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(8px);
}

.trade-mode-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trade-mode-chip {
    flex: 1;
    min-width: 220px;
    background: rgba(2, 6, 23, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.trade-mode-chip:hover {
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

.trade-mode-chip.active {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.15);
}

.trade-mode-icon {
    font-size: 22px;
    line-height: 1;
}

.trade-mode-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 2px;
}

.trade-mode-chip.active .trade-mode-title {
    color: #fbbf24;
}

.trade-mode-desc {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
}

.trade-partner-picker-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 4px;
}

.trade-partner-input-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.trade-partner-input {
    width: 100%;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 11px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #f8fafc;
    transition: border-color 0.2s ease;
}

.trade-partner-input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

.trade-players-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #0f172a;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.trade-player-item {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s ease;
}

.trade-player-item:last-child {
    border-bottom: none;
}

.trade-player-item:hover {
    background: rgba(251, 191, 36, 0.12);
}

.trade-player-name {
    font-weight: 700;
    color: #f8fafc;
    font-size: 13px;
}

.trade-player-meta {
    font-size: 11px;
    color: #94a3b8;
}

/* --- The Visual Trade Mat --- */
.trade-mat-arena {
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .trade-mat-arena {
        grid-template-columns: 1fr;
    }
}

.trade-mat-column {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(10px);
}

.trade-mat-column.giving-column {
    border-color: rgba(56, 189, 248, 0.3);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 70%), rgba(15, 23, 42, 0.75);
}

.trade-mat-column.receiving-column {
    border-color: rgba(245, 158, 11, 0.3);
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.06), transparent 70%), rgba(15, 23, 42, 0.75);
}

.trade-mat-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.trade-mat-col-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.giving-column .trade-mat-col-title {
    color: #38bdf8;
}

.receiving-column .trade-mat-col-title {
    color: #fbbf24;
}

.trade-mat-count-pill {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}

/* Card Slot Trays (1 to 5 slots) */
.trade-slots-tray {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    min-height: 120px;
}

@media (max-width: 600px) {
    .trade-slots-tray {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trade-slot-card {
    aspect-ratio: 5 / 7;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.6);
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.2s ease;
    padding: 6px;
    overflow: hidden;
}

.trade-slot-card.empty {
    color: #475569;
    font-size: 20px;
}

.trade-slot-card.filled {
    border-style: solid;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.trade-slot-card.filled:hover {
    transform: translateY(-2px) scale(1.02);
}

.trade-slot-card.filled.rarity-common { border-color: #94a3b8; }
.trade-slot-card.filled.rarity-uncommon { border-color: #34d399; }
.trade-slot-card.filled.rarity-rare { border-color: #38bdf8; }
.trade-slot-card.filled.rarity-very-rare { border-color: #c084fc; }
.trade-slot-card.filled.rarity-legendary { border-color: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, 0.4); }

.trade-slot-thumb {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 2px;
}

.trade-slot-title {
    font-size: 9.5px;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-bottom: 2px;
}

.trade-slot-qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.btn-slot-qty {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.12s ease;
    padding: 0;
}

.btn-slot-qty:hover {
    background: #fbbf24;
    color: #0f172a;
    border-color: #fbbf24;
}

.slot-qty-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #fbbf24;
    min-width: 18px;
    text-align: center;
}

.trade-slot-remove-btn {
    position: absolute;
    top: 4px; right: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.85);
    color: white;
    border: none;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 5;
}

.trade-slot-card.filled:hover .trade-slot-remove-btn {
    opacity: 1;
}

/* Center Exchange & Balance Scales */
.trade-mat-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.trade-exchange-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle, #fbbf24, #d97706);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    animation: pulseTradeGlow 3s infinite ease-in-out;
}

@keyframes pulseTradeGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(251, 191, 36, 0.3); }
    50% { transform: scale(1.06); box-shadow: 0 0 25px rgba(251, 191, 36, 0.6); }
}

.trade-scales-meter {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
    width: 100%;
}

.trade-scales-text {
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
}

.trade-scales-bar {
    height: 4px;
    border-radius: 2px;
    background: #334155;
    margin-top: 6px;
    overflow: hidden;
    position: relative;
}

.trade-scales-fill {
    position: absolute;
    top: 0; bottom: 0;
    transition: all 0.3s ease;
}

/* Card Selection Drawer below Mat */
.trade-drawer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.trade-drawer-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.trade-drawer-search {
    flex: 1;
    min-width: 140px;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    color: #f8fafc;
}

.trade-drawer-search:focus {
    outline: none;
    border-color: #fbbf24;
}

.trade-drawer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
    padding: 8px 4px;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trade-picker-card {
    aspect-ratio: 5 / 7;
    border-radius: 8px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.trade-picker-card:hover {
    transform: translateY(-2px);
    border-color: #fbbf24;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.trade-picker-thumb {
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 5px;
}

.trade-picker-info {
    text-align: center;
}

.trade-picker-name {
    font-size: 9px;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-picker-count {
    position: absolute;
    top: 4px; left: 4px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    color: #fbbf24;
    padding: 1px 4px;
}

.trade-picker-card.is-needed-badge::after {
    content: '★ NEED';
    position: absolute;
    bottom: 2px; right: 2px;
    background: #10b981;
    color: #ffffff;
    font-size: 7.5px;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 3px;
}

.trade-picker-card.rarity-common { border-top: 3px solid #94a3b8; }
.trade-picker-card.rarity-uncommon { border-top: 3px solid #34d399; }
.trade-picker-card.rarity-rare { border-top: 3px solid #38bdf8; }
.trade-picker-card.rarity-very-rare { border-top: 3px solid #c084fc; }
.trade-picker-card.rarity-legendary { border-top: 3px solid #fbbf24; }

/* Trade Creator Bottom Row */
.trade-creator-bottom {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
}

.trade-note-input {
    flex: 1;
    min-width: 280px;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #f8fafc;
}

.trade-note-input:focus {
    outline: none;
    border-color: #fbbf24;
}

.btn-dispatch-trade {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border: 1px solid #f59e0b;
    border-radius: 10px;
    padding: 12px 28px;
    color: #0f172a;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(251, 191, 36, 0.35);
}

.btn-dispatch-trade:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #fcd34d, #fbbf24);
}

.btn-dispatch-trade:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* --- Trade Offers / Listings Cards --- */
.trade-offers-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trade-offer-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.trade-offer-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.trade-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.trade-trader-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trade-avatar-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.trade-trader-name {
    font-weight: 700;
    color: #f8fafc;
    font-size: 14px;
}

.trade-time-ago {
    font-size: 11px;
    color: #94a3b8;
}

.trade-status-pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trade-status-pending { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.trade-status-accepted { background: rgba(52, 211, 153, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }
.trade-status-declined { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.trade-status-cancelled { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.3); }

/* Side by side exchange display inside card */
.trade-offer-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .trade-offer-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.trade-cards-flow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.trade-mini-card {
    width: 64px;
    aspect-ratio: 5 / 7;
    border-radius: 6px;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.trade-mini-card:hover {
    transform: scale(1.08);
}

.trade-mini-card.rarity-common { border-color: #94a3b8; }
.trade-mini-card.rarity-uncommon { border-color: #34d399; }
.trade-mini-card.rarity-rare { border-color: #38bdf8; }
.trade-mini-card.rarity-very-rare { border-color: #c084fc; }
.trade-mini-card.rarity-legendary { border-color: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, 0.3); }

.trade-mini-thumb {
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 4px;
}

.trade-mini-name {
    font-size: 8px;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-mini-count {
    position: absolute;
    top: 2px; left: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: #fbbf24;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 3px;
}

.trade-offer-arrow {
    font-size: 24px;
    color: #fbbf24;
    text-align: center;
}

.trade-offer-note {
    background: rgba(2, 6, 23, 0.5);
    border-left: 3px solid #fbbf24;
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    color: #cbd5e1;
    font-style: italic;
}

.trade-offer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
}

.btn-trade-accept {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid #34d399;
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-trade-accept:hover:not(:disabled) {
    background: linear-gradient(135deg, #34d399, #10b981);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-trade-accept:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-trade-decline {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-trade-decline:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.btn-trade-cancel {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-trade-cancel:hover {
    background: rgba(148, 163, 184, 0.22);
}

.btn-trade-counter {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-trade-counter:hover {
    background: rgba(56, 189, 248, 0.25);
}

/* Empty States */
.trade-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trade-empty-icon {
    font-size: 42px;
    margin-bottom: 4px;
}

.trade-empty-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #f8fafc;
}

.trade-empty-desc {
    font-size: 13px;
    color: #94a3b8;
    max-width: 440px;
    line-height: 1.5;
}

/* Inspect Modal Trade Button */
.inspect-trade-row {
    margin-top: 12px;
}

.btn-inspect-trade {
    width: 100%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 10px;
    padding: 10px 16px;
    color: #38bdf8;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-inspect-trade:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(99, 102, 241, 0.35));
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

/* Quick Partner Selection Bar */
.trade-quick-partners-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.trade-quick-partners-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.trade-partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 3px 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.trade-partner-chip:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.trade-partner-chip.active {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.25);
}

.trade-partner-chip .chip-count {
    font-size: 10px;
    color: #94a3b8;
}

/* Smart Drawer Filter Chips */
.trade-smart-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 8px;
    padding: 4px 10px;
    color: #34d399;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.trade-smart-filter-chip:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #34d399;
}

.trade-smart-filter-chip.active {
    background: #10b981;
    border-color: #34d399;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

/* Staged Card Indicator in Drawer */
.trade-picker-card.is-slotted {
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

/* Rich Trade Confirmation Modal Preview */
.trade-confirm-preview-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.trade-confirm-sides {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 600px) {
    .trade-confirm-sides {
        flex-direction: column;
    }
}

.trade-confirm-side {
    flex: 1;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
}

.trade-confirm-side.give {
    border-left: 3px solid #38bdf8;
}

.trade-confirm-side.receive {
    border-left: 3px solid #fbbf24;
}

.trade-confirm-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.trade-confirm-chips-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 140px;
    overflow-y: auto;
}

.trade-confirm-card-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
}

.trade-confirm-card-chip .chip-count {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #fbbf24;
}

.trade-confirm-card-chip .chip-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-confirm-card-chip .chip-rarity {
    font-size: 10px;
}

.trade-confirm-arrow-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fbbf24;
}

/* Rarity text highlights */
.rarity-text-common { color: #94a3b8; }
.rarity-text-uncommon { color: #34d399; }
.rarity-text-rare { color: #38bdf8; }
.rarity-text-very-rare { color: #c084fc; }
.rarity-text-legendary { color: #fbbf24; font-weight: 700; }

