/* /Components/Game/GameMap.razor.rz.scp.css */
.game-map[b-cvmieyu3i2] {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #12100e; 
}

.map-wrapper[b-cvmieyu3i2] {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: auto;
    aspect-ratio: 1 / 1;
}

.map-image[b-cvmieyu3i2] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.ui-layer[b-cvmieyu3i2] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
/* /Components/Game/InventoryPanel.razor.rz.scp.css */
/* ===== Inventory Panel — Medieval Glassmorphism ===== */

/* Slide-in Animation */
@keyframes slideInRight-b-zp1x1d0xoy {
    from {
        transform: translateX(30px) translateY(-50%);
        opacity: 0;
    }

    to {
        transform: translateX(0) translateY(-50%);
        opacity: 1;
    }
}

.inventory-panel[b-zp1x1d0xoy] {
    width: 520px;
    height: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: rgba(20, 15, 10, 0.95);
    border: 2px solid var(--border, #6a4f32);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(243, 156, 18, 0.1);
    color: #e0d5c1;
    font-family: 'Inter', sans-serif;

    /* Position: right side of the game area */
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: auto;
    animation: slideInRight-b-zp1x1d0xoy 0.3s ease-out;
}

/* ===== Header ===== */

.panel-header[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 2px solid #5d4037;
    background: linear-gradient(180deg, #1a120b 0%, #120d09 100%);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    cursor: grab;
    overflow: hidden;
}

.header-main[b-zp1x1d0xoy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(40, 30, 20, 0.4);
    border-bottom: 1px solid rgba(139, 94, 60, 0.2);
}

.header-title-group[b-zp1x1d0xoy] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon[b-zp1x1d0xoy] {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(243, 156, 18, 0.3));
}

.header-titles h3[b-zp1x1d0xoy] {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold, #f39c12);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1;
}

.location-context[b-zp1x1d0xoy] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8d7d6a;
    font-weight: 700;
}

.town-lore-section[b-zp1x1d0xoy] {
    padding: 10px 20px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(139, 94, 60, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.town-description[b-zp1x1d0xoy] {
    margin: 0 0 6px 0;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #b5a48d;
    text-align: center;
}

.town-stats[b-zp1x1d0xoy] {
    display: flex;
    justify-content: center;
}

.tax-badge[b-zp1x1d0xoy] {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #4a3728;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    display: flex;
    gap: 6px;
    align-items: center;
}

.stat-label[b-zp1x1d0xoy] {
    color: #8d7d6a;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.65rem;
}

.stat-value[b-zp1x1d0xoy] {
    color: #2ecc71;
    /* Green for profit context in inventory */
    font-weight: bold;
}

.close-btn[b-zp1x1d0xoy] {
    background: none;
    border: none;
    color: #a99;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px 8px;
}

.close-btn:hover[b-zp1x1d0xoy] {
    color: #f55;
}

/* ===== Category Tabs ===== */

.category-tabs[b-zp1x1d0xoy] {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border, #6a4f32);
    background: rgba(15, 10, 5, 0.6);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #6a4f32 transparent;
}

.cat-tab[b-zp1x1d0xoy] {
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #887a66;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cat-tab:hover[b-zp1x1d0xoy] {
    color: #c0b090;
    background: rgba(243, 156, 18, 0.05);
}

.cat-tab.active[b-zp1x1d0xoy] {
    color: var(--gold, #f39c12);
    border-bottom-color: var(--gold, #f39c12);
    background: rgba(243, 156, 18, 0.08);
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.3);
}

/* ===== Content ===== */

.panel-content[b-zp1x1d0xoy] {
    padding: 12px 16px;
    overflow-y: auto;
    flex-grow: 1;
    min-height: 150px;
    scrollbar-width: thin;
    scrollbar-color: #6a4f32 rgba(0, 0, 0, 0.2);
}

/* ===== Loading & Empty States ===== */

.loading-state[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 10px;
    color: #887a66;
    font-style: italic;
}

.loading-spinner[b-zp1x1d0xoy] {
    font-size: 2rem;
    animation: spin-b-zp1x1d0xoy 1.5s linear infinite;
}

@keyframes spin-b-zp1x1d0xoy {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.empty-state[b-zp1x1d0xoy] {
    text-align: center;
    padding: 30px 10px;
}

.empty-icon[b-zp1x1d0xoy] {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.6;
}

.empty-title[b-zp1x1d0xoy] {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #b0a58e;
    margin-bottom: 8px;
}

.empty-text[b-zp1x1d0xoy] {
    font-size: 0.9rem;
    color: #887a66;
    font-style: italic;
}

/* ===== Inventory List ===== */

.inventory-list[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-header[b-zp1x1d0xoy] {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 1fr;
    padding: 0 16px 12px 16px;
    border-bottom: 1px solid var(--border, #6a4f32);
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #887a66;
    letter-spacing: 1px;
    font-weight: 600;
}

.list-header span:nth-child(2)[b-zp1x1d0xoy],
.list-header span:nth-child(3)[b-zp1x1d0xoy],
.list-header span:last-child[b-zp1x1d0xoy] {
    text-align: center;
}

.inventory-item[b-zp1x1d0xoy] {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 1fr;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #3a2818;
    border-left: 3px solid #6a4f32;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.inventory-item:hover:not(.disabled)[b-zp1x1d0xoy] {
    background: rgba(46, 204, 113, 0.05);
    /* Soft green hover for selling */
    border-color: #27ae60;
    border-left-color: #2ecc71;
    transform: translateX(4px);
}

.inventory-item:active:not(.disabled)[b-zp1x1d0xoy] {
    background: rgba(243, 156, 18, 0.15);
    transform: translateX(2px);
}

.inventory-item.disabled[b-zp1x1d0xoy] {
    cursor: not-allowed;
    opacity: 0.5;
}

.item-info[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-name[b-zp1x1d0xoy] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #e0d5c1;
}

.item-category[b-zp1x1d0xoy] {
    font-size: 0.72rem;
    color: #998a75;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.item-qty[b-zp1x1d0xoy] {
    font-family: monospace;
    font-size: 1.05rem;
    text-align: center;
    color: #d0c5b0;
}

.item-price[b-zp1x1d0xoy] {
    font-family: monospace;
    font-size: 1.05rem;
    color: #2ecc71;
    /* Green for selling profit */
    text-align: center;
    font-weight: 600;
}

/* ===== Sell Button Removal (Old Styles) ===== */

/* ===== Cart Upgrade Section ===== */

.upgrade-section[b-zp1x1d0xoy] {
    padding: 12px 16px;
    background: rgba(40, 30, 20, 0.4);
    border-top: 1px solid var(--border, #6a4f32);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.upgrade-info[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.next-tier-name[b-zp1x1d0xoy] {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: #e0d5c1;
}

.next-tier-stats[b-zp1x1d0xoy] {
    font-size: 0.75rem;
    color: #27ae60;
}

.upgrade-btn[b-zp1x1d0xoy] {
    background: linear-gradient(180deg, #f39c12 0%, #d35400 100%);
    color: white;
    border: 1px solid #e67e22;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.upgrade-btn:hover:not(:disabled)[b-zp1x1d0xoy] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
    background: linear-gradient(180deg, #f1c40f 0%, #e67e22 100%);
}

.upgrade-btn:active:not(:disabled)[b-zp1x1d0xoy] {
    transform: translateY(0);
}

.upgrade-btn.disabled[b-zp1x1d0xoy],
.upgrade-btn:disabled[b-zp1x1d0xoy] {
    background: #2c3e50;
    border-color: #34495e;
    color: #7f8c8d;
    cursor: not-allowed;
    text-shadow: none;
    opacity: 0.7;
}

.max-tier-msg[b-zp1x1d0xoy] {
    width: 100%;
    text-align: center;
    color: var(--gold, #f39c12);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}

/* ===== Cart Weight Footer ===== */

.weight-footer[b-zp1x1d0xoy] {
    padding: 12px 16px;
    border-top: 1px solid var(--border, #6a4f32);
    background: linear-gradient(180deg, rgba(20, 15, 10, 0.9) 0%, rgba(30, 20, 10, 0.95) 100%);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.weight-label[b-zp1x1d0xoy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: #b0a58e;
}

.weight-value[b-zp1x1d0xoy] {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.95rem;
}

.weight-value.weight-normal[b-zp1x1d0xoy] {
    color: var(--gold, #f39c12);
}

.weight-value.weight-warning[b-zp1x1d0xoy] {
    color: #e67e22;
}

.weight-value.weight-critical[b-zp1x1d0xoy] {
    color: #e74c3c;
    animation: pulse-red-b-zp1x1d0xoy 1.5s ease-in-out infinite;
}

@keyframes pulse-red-b-zp1x1d0xoy {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Track */
.weight-bar-track[b-zp1x1d0xoy] {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid #3a2818;
    overflow: hidden;
}

/* Fill */
.weight-bar-fill[b-zp1x1d0xoy] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease, background 0.3s ease;
    position: relative;
}

.weight-bar-fill.weight-normal[b-zp1x1d0xoy] {
    background: linear-gradient(90deg, #f39c12 0%, #f1c40f 100%);
    box-shadow: 0 0 6px rgba(243, 156, 18, 0.4);
}

.weight-bar-fill.weight-warning[b-zp1x1d0xoy] {
    background: linear-gradient(90deg, #e67e22 0%, #f39c12 100%);
    box-shadow: 0 0 6px rgba(230, 126, 34, 0.4);
}

.weight-bar-fill.weight-critical[b-zp1x1d0xoy] {
    background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%);
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
    animation: bar-pulse-b-zp1x1d0xoy 1.5s ease-in-out infinite;
}

@keyframes bar-pulse-b-zp1x1d0xoy {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
    }

    50% {
        box-shadow: 0 0 14px rgba(231, 76, 60, 0.8);
    }
}
/* /Components/Game/LeaderboardPanel.razor.rz.scp.css */
.leaderboard-overlay[b-f4ckf6z2z4] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Extremely high to ensure it's on top */
    animation: fadeIn-b-f4ckf6z2z4 0.3s ease-out;
    pointer-events: auto;
    cursor: pointer;
}

@keyframes fadeIn-b-f4ckf6z2z4 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-f4ckf6z2z4 {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.leaderboard-panel[b-f4ckf6z2z4] {
    width: 450px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: rgba(20, 15, 10, 0.98);
    border: 2px solid #5d4037; /* More subtle wood-like border */
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9),
                inset 0 1px 0 rgba(243, 156, 18, 0.1);
    color: #e0d5c1;
    font-family: 'Inter', sans-serif;
    position: relative;
    pointer-events: auto;
    animation: slideUp-b-f4ckf6z2z4 0.3s ease-out;
    overflow: hidden;
}

/* ===== Header Styling ===== */

.panel-header[b-f4ckf6z2z4] {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 2px solid #5d4037;
    background: linear-gradient(180deg, #1a120b 0%, #120d09 100%);
    flex-shrink: 0;
}

.header-main[b-f4ckf6z2z4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(40, 30, 20, 0.4);
    border-bottom: 1px solid rgba(139, 94, 60, 0.2);
}

.header-titles h3[b-f4ckf6z2z4] {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold, #f39c12);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.location-context[b-f4ckf6z2z4] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8d7d6a;
    font-weight: 700;
}

/* Base Panel Overrides for a Premium Ledger Feel */
.leaderboard-panel .panel-content[b-f4ckf6z2z4] {
    background: rgba(18, 13, 9, 0.95);
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.leaderboard-list[b-f4ckf6z2z4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.merchant-row[b-f4ckf6z2z4] {
    display: flex;
    align-items: center;
    background: rgba(30, 24, 18, 0.8);
    border: 1px solid rgba(139, 94, 60, 0.3);
    border-radius: 6px;
    padding: 10px 14px;
    transition: all 0.2s ease-in-out;
}

.merchant-row:hover[b-f4ckf6z2z4] {
    background: rgba(45, 35, 25, 0.9);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(4px);
}

.rank-badge[b-f4ckf6z2z4] {
    font-size: 1.2rem;
    font-weight: 700;
    width: 40px;
    text-align: center;
    color: #b5a48d;
    margin-right: 12px;
    font-family: 'Cinzel', serif;
}

.merchant-info[b-f4ckf6z2z4] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.merchant-name[b-f4ckf6z2z4] {
    color: #e0d5c1;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Cinzel', serif;
}

.merchant-gold[b-f4ckf6z2z4] {
    color: #f39c12;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gold-icon[b-f4ckf6z2z4] {
    font-size: 0.8rem;
}

/* TOP 3 HIGHLIGHTS */
.rank-1[b-f4ckf6z2z4] {
    background: linear-gradient(135deg, rgba(50, 40, 10, 0.95) 0%, rgba(30, 24, 18, 0.9) 100%);
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2), inset 0 0 10px rgba(255, 215, 0, 0.1);
}

.rank-1 .merchant-name[b-f4ckf6z2z4] {
    color: #ffd700;
    font-size: 1.05rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.rank-1 .rank-badge[b-f4ckf6z2z4] {
    font-size: 1.5rem;
}

.rank-2[b-f4ckf6z2z4] {
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.95) 0%, rgba(30, 24, 18, 0.9) 100%);
    border: 1px solid #c0c0c0;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.15);
}

.rank-2 .merchant-name[b-f4ckf6z2z4] {
    color: #e0e0e0;
}

.rank-2 .rank-badge[b-f4ckf6z2z4] {
    font-size: 1.3rem;
}

.rank-3[b-f4ckf6z2z4] {
    background: linear-gradient(135deg, rgba(45, 30, 20, 0.95) 0%, rgba(30, 24, 18, 0.9) 100%);
    border: 1px solid #cd7f32;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.15);
}

.rank-3 .merchant-name[b-f4ckf6z2z4] {
    color: #cd7f32;
}

.rank-3 .rank-badge[b-f4ckf6z2z4] {
    font-size: 1.2rem;
}

/* Animations & Scrollbar */
.leaderboard-panel .panel-content[b-f4ckf6z2z4]::-webkit-scrollbar {
    width: 6px;
}

.leaderboard-panel .panel-content[b-f4ckf6z2z4]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.leaderboard-panel .panel-content[b-f4ckf6z2z4]::-webkit-scrollbar-thumb {
    background: #8b5e3c;
    border-radius: 3px;
}

.leaderboard-panel .panel-content[b-f4ckf6z2z4]::-webkit-scrollbar-thumb:hover {
    background: #a67c52;
}

.close-btn[b-f4ckf6z2z4] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 94, 60, 0.3);
    color: #a99;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px 10px;
    border-radius: 4px;
    line-height: 1;
}

.close-btn:hover[b-f4ckf6z2z4] {
    color: #fff;
    background: rgba(192, 57, 43, 0.8);
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}
/* /Components/Game/LocationNode.razor.rz.scp.css */
.location-node[b-w3f74cyi4c] {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%; /* Make it circular for icons */
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease-in-out;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    color: inherit;
    font-family: inherit;
}

.location-node:hover[b-w3f74cyi4c] {
    border-color: rgba(255, 215, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    z-index: 100;
}

.current-location[b-w3f74cyi4c] {
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.node-icon[b-w3f74cyi4c] {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.current-location .node-icon[b-w3f74cyi4c] {
    border-color: #4CAF50;
    animation: pulse-b-w3f74cyi4c 2s infinite;
}

.node-info[b-w3f74cyi4c] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.town-name[b-w3f74cyi4c] {
    color: #fff;
    font-family: 'Cinzel', serif, sans-serif;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.town-type[b-w3f74cyi4c] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: #ccc;
    margin-top: 4px;
}

@keyframes pulse-b-w3f74cyi4c {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.node-tooltip[b-w3f74cyi4c] {
    position: absolute;
    bottom: 120%; /* Show above the node */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #1a120b 0%, #120d09 100%);
    border: 2px solid #8b5e3c;
    border-radius: 4px;
    padding: 12px 16px;
    color: #e0d5c1;
    font-family: 'Inter', sans-serif;
    width: 280px; /* Wider for lore */
    white-space: normal; /* Allow wrapping */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(139, 94, 60, 0.1);
    z-index: 1000;
    pointer-events: none;
}

/* Tooltip Arrow */
.node-tooltip[b-w3f74cyi4c]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(255, 215, 0, 0.6) transparent transparent transparent;
}

.location-node:hover .node-tooltip[b-w3f74cyi4c] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Alternate Positioning for top-of-map nodes (like Eldenhaven) */
.node-tooltip.tooltip-bottom[b-w3f74cyi4c] {
    bottom: auto;
    top: 120%;
    transform: translateX(-50%) translateY(-10px);
}

.node-tooltip.tooltip-bottom[b-w3f74cyi4c]::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent rgba(255, 215, 0, 0.6) transparent;
}

.location-node:hover .node-tooltip.tooltip-bottom[b-w3f74cyi4c] {
    transform: translateX(-50%) translateY(0);
}

.tooltip-header[b-w3f74cyi4c] {
    font-family: 'Cinzel', serif, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--gold, #f39c12);
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(139, 94, 60, 0.3);
    padding-bottom: 4px;
    text-shadow: 2px 2px 4px #000;
}

.tooltip-body[b-w3f74cyi4c] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tooltip-type[b-w3f74cyi4c] {
    font-size: 10px;
    color: #8d7d6a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.tooltip-lore[b-w3f74cyi4c] {
    margin: 0;
    font-style: italic;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #b5a48d;
}

.tooltip-stats[b-w3f74cyi4c] {
    display: flex;
    border-top: 1px solid rgba(139, 94, 60, 0.2);
    padding-top: 6px;
    margin-top: 4px;
}

.tooltip-tax[b-w3f74cyi4c] {
    font-size: 11px;
    font-weight: bold;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* /Components/Game/MarketPanel.razor.rz.scp.css */
.market-panel[b-cpwtwkobvf] {
    width: 520px;
    height: 980px;
    display: flex;
    flex-direction: column;
    /* Basic floating panel styles (glassmorphism/medieval mix) */
    background: var(--panel-bg, rgba(20, 15, 10, 0.95));
    border: 2px solid var(--border, #6a4f32);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    color: #e0d5c1;
    font-family: 'Inter', sans-serif;

    /* Position for the floating UI layer */
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    pointer-events: auto;
    /* Re-enable clicks to panel */
}

.panel-header[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 2px solid #5d4037;
    background: linear-gradient(180deg, #1a120b 0%, #120d09 100%);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    cursor: grab;
    flex-shrink: 0;
}

.header-main[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: rgba(40, 30, 20, 0.4);
    border-bottom: 1px solid rgba(139, 94, 60, 0.2);
    gap: 16px;
}

.header-row[b-cpwtwkobvf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.town-brand[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.town-titles h3[b-cpwtwkobvf] {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold, #f39c12);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.1;
}

.town-type[b-cpwtwkobvf] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8d7d6a;
    font-weight: 700;
}

.town-lore-section[b-cpwtwkobvf] {
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(139, 94, 60, 0.05) 50%, rgba(0,0,0,0) 100%);
    border-top: 1px solid rgba(0,0,0,0.3);
}

.town-description[b-cpwtwkobvf] {
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #b5a48d;
    text-align: center;
}

.town-stats[b-cpwtwkobvf] {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.tax-badge[b-cpwtwkobvf] {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #4a3728;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    display: flex;
    gap: 6px;
    align-items: center;
}

.stat-label[b-cpwtwkobvf] {
    color: #8d7d6a;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.7rem;
}

.view-selector[b-cpwtwkobvf] {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px;
    border-radius: 6px;
    border: 1px solid #4a3728;
}

.view-btn[b-cpwtwkobvf] {
    background: transparent;
    border: none;
    color: #8d7d6a;
    padding: 6px 14px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.view-btn:hover[b-cpwtwkobvf] {
    color: #c0b090;
}

.view-btn.active[b-cpwtwkobvf] {
    background: #5d4037;
    color: var(--gold, #f39c12);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.stat-value[b-cpwtwkobvf] {
    color: #e74c3c; /* Red for tax */
    font-weight: bold;
    text-shadow: 0 0 5px rgba(231, 76, 60, 0.2);
}

/* ===== Info View Styles ===== */

.town-info-display[b-cpwtwkobvf] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(40,30,20,0.4) 100%);
    border-radius: 8px;
    animation: fadeIn-b-cpwtwkobvf 0.4s ease-out;
}

@keyframes fadeIn-b-cpwtwkobvf {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-hero[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.info-town-name[b-cpwtwkobvf] {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--gold, #f39c12);
    text-shadow: 2px 2px 8px #000;
    text-align: center;
}

.info-town-type[b-cpwtwkobvf] {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #8d7d6a;
    font-size: 0.85rem;
    font-weight: 700;
}

.info-divider[b-cpwtwkobvf] {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #8b5e3c 50%, transparent 100%);
    width: 100%;
}

.info-lore h3[b-cpwtwkobvf], .info-economy h3[b-cpwtwkobvf] {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #c0b090;
    margin: 0 0 12px 0;
    border-bottom: 1px solid rgba(139, 94, 60, 0.3);
    padding-bottom: 4px;
}

.info-lore p[b-cpwtwkobvf] {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b5a48d;
    margin: 0;
    text-align: justify;
}

.info-stat-card[b-cpwtwkobvf] {
    background: rgba(0,0,0,0.4);
    border: 1px solid #4a3728;
    padding: 16px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-card-label[b-cpwtwkobvf] {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #8d7d6a;
    letter-spacing: 1px;
}

.stat-card-value[b-cpwtwkobvf] {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e74c3c;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

.stat-card-hint[b-cpwtwkobvf] {
    font-size: 0.75rem;
    color: #7f8c8d;
    font-style: italic;
    margin: 4px 0 0 0;
}

.bottom-row[b-cpwtwkobvf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.category-filter[b-cpwtwkobvf] {
    background: rgba(20, 15, 10, 0.9);
    color: #e0d5c1;
    border: 1px solid var(--border, #6a4f32);
    border-radius: 4px;
    padding: 6px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    min-width: 160px;
}

.category-filter:hover[b-cpwtwkobvf] {
    border-color: var(--gold, #f39c12);
}

.category-filter option[b-cpwtwkobvf] {
    background: rgba(20, 15, 10, 0.95);
    color: #e0d5c1;
}

.close-btn[b-cpwtwkobvf] {
    background: none;
    border: none;
    color: #a99;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover[b-cpwtwkobvf] {
    color: #f55;
}

/* ===== Tab Bar ===== */

.tab-bar[b-cpwtwkobvf] {
    display: flex;
    border-bottom: 1px solid var(--border, #6a4f32);
    background: rgba(15, 10, 5, 0.6);
}

.tab-btn[b-cpwtwkobvf] {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #887a66;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn:hover[b-cpwtwkobvf] {
    color: #c0b090;
    background: rgba(243, 156, 18, 0.05);
}

.tab-btn.active[b-cpwtwkobvf] {
    color: var(--gold, #f39c12);
    border-bottom-color: var(--gold, #f39c12);
    background: rgba(243, 156, 18, 0.08);
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.3);
}

.tab-icon[b-cpwtwkobvf] {
    font-size: 1rem;
}

/* ===== Panel Content ===== */

.panel-content[b-cpwtwkobvf] {
    padding: 16px;
    overflow-y: auto;
    flex-grow: 1;
}

.loading[b-cpwtwkobvf],
.empty-state[b-cpwtwkobvf] {
    text-align: center;
    padding: 30px 10px;
    font-style: italic;
    color: #887a66;
}

.market-list[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.market-list-header[b-cpwtwkobvf] {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.2fr;
    padding: 0 16px 12px 16px;
    border-bottom: 1px solid var(--border, #6a4f32);
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #887a66;
    letter-spacing: 1px;
    font-weight: 600;
}

.market-list-header span:last-child[b-cpwtwkobvf] {
    text-align: center;
}

.market-item[b-cpwtwkobvf] {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.2fr;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #3a2818;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.market-item:hover:not(.disabled)[b-cpwtwkobvf] {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--gold, #f39c12);
    transform: translateX(4px);
}

.market-item:active:not(.disabled)[b-cpwtwkobvf] {
    background: rgba(243, 156, 18, 0.15);
    transform: translateX(2px);
}

.market-item.disabled[b-cpwtwkobvf] {
    cursor: not-allowed;
    opacity: 0.5;
}

.item-info[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
}

.item-name[b-cpwtwkobvf] {
    font-weight: 600;
    font-size: 0.95rem;
}

.item-category[b-cpwtwkobvf] {
    font-size: 0.75rem;
    color: #998a75;
}

.item-stock[b-cpwtwkobvf] {
    font-family: monospace;
    font-size: 1.05rem;
    text-align: center;
}

.item-price[b-cpwtwkobvf] {
    font-family: monospace;
    font-size: 1.05rem;
    color: var(--gold, #f39c12);
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.gold-icon[b-cpwtwkobvf] {
    font-size: 0.9rem;
}

/* ===== Sell-Specific Styles ===== */

.sell-item[b-cpwtwkobvf] {
    border-left: 3px solid #2ecc71;
}

.sell-item:hover:not(.disabled)[b-cpwtwkobvf] {
    border-left-color: #27ae60;
}

.sell-price[b-cpwtwkobvf] {
    color: #2ecc71 !important;
}
/* /Components/Game/SettingsPanel.razor.rz.scp.css */
/* Scoped styles for SettingPanel.razor */
.modal-backdrop[b-gae3qtiye5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.settings-modal[b-gae3qtiye5] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a110a;
    border: 3px solid #3e2723;
    padding: 2rem;
    color: #f39c12;
    width: 550px;
    max-width: 90vw;
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.2);
    border-radius: 8px;
}

.modal-header[b-gae3qtiye5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3e2723;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.modal-header h2[b-gae3qtiye5] {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
}

.btn-close[b-gae3qtiye5] {
    background: transparent;
    border: none;
    color: #bdc3c7;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.btn-close:hover[b-gae3qtiye5] {
    color: #e74c3c;
}

.modal-content section[b-gae3qtiye5] {
    margin-bottom: 25px;
}

.modal-content h3[b-gae3qtiye5] {
    border-left: 3px solid #f39c12;
    padding-left: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.setting-row[b-gae3qtiye5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.setting-row label[b-gae3qtiye5] {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* THE SLIDER STYLE */
input[type=range][b-gae3qtiye5] {
    -webkit-appearance: none;
    appearance: none;
    /* Standard property for compatibility */
    width: 100%;
    background: #3e2723;
    height: 8px;
    border-radius: 4px;
    outline: none;
}

input[type=range][b-gae3qtiye5]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #f39c12;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #5d4037;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease;
}

input[type=range][b-gae3qtiye5]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #f1c40f;
}
/* /Components/Game/TopBar.razor.rz.scp.css */
/* Scoped styles for TopBar.razor */
.top-bar-container[b-72gvbg9t7j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
    /* Increased padding for markers */
    height: 100%;
    background: #1a110a;
    border-top: 3px solid #f39c12;
    /* Gold trim */
    border-bottom: 3px solid #3e2723;
    /* Darker bronze-ish trim */
    color: #f39c12;
    font-family: 'Cinzel', serif;
    box-shadow:
        inset 0 0 20px #000,
        /* Internal shadow for wood depth */
        0 4px 10px rgba(0, 0, 0, 0.8);
    /* Exterior drop shadow */
    position: relative;
    overflow: hidden;
}

/* Add ornate "diamond" markers for a framed look */
.top-bar-container[b-72gvbg9t7j]::before,
.top-bar-container[b-72gvbg9t7j]::after {
    content: "◈";
    position: absolute;
    color: #f39c12;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    z-index: 10;
}

.top-bar-container[b-72gvbg9t7j]::before {
    left: 10px;
}

.top-bar-container[b-72gvbg9t7j]::after {
    right: 10px;
}

.cart-gold[b-72gvbg9t7j],
.world-time-info[b-72gvbg9t7j],
.player-info[b-72gvbg9t7j] {
    display: flex;
    gap: 15px;
    align-items: center;
}

.username[b-72gvbg9t7j] {
    font-weight: bold;
    color: #ecf0f1;
    text-shadow: 1px 1px 2px #000;
}

.gold[b-72gvbg9t7j] {
    color: #f1c40f;
    font-weight: bold;
}

.world-info[b-72gvbg9t7j] {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.season[b-72gvbg9t7j] {
    font-style: italic;
    font-size: 0.9rem;
    color: #aaa;
}

.capacity[b-72gvbg9t7j] {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.btn-settings[b-72gvbg9t7j] {
    background: transparent;
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f39c12;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 10px;
}

.btn-settings:hover[b-72gvbg9t7j] {
    background: rgba(243, 156, 18, 0.1);
    border-color: #f39c12;
    transform: rotate(30deg);
}

/* ===== Action Buttons Group ===== */

.action-buttons[b-72gvbg9t7j] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-inventory[b-72gvbg9t7j] {
    background: transparent;
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f39c12;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-inventory:hover[b-72gvbg9t7j] {
    background: rgba(243, 156, 18, 0.1);
    border-color: #f39c12;
    transform: scale(1.1);
}

/* ===== Weight Color States ===== */

.weight-warning[b-72gvbg9t7j] {
    color: #e67e22 !important;
}

.weight-critical[b-72gvbg9t7j] {
    color: #e74c3c !important;
    animation: topbar-pulse-b-72gvbg9t7j 1.5s ease-in-out infinite;
}

@keyframes topbar-pulse-b-72gvbg9t7j {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
/* /Components/Game/TradePanel.razor.rz.scp.css */
/* ===== Trade Confirmation Modal ===== */

.trade-overlay[b-2rqini0bmd] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    animation: fadeIn-b-2rqini0bmd 0.2s ease-out;
    pointer-events: auto;
}

.trade-modal[b-2rqini0bmd] {
    background: linear-gradient(180deg, rgba(30, 22, 12, 0.98) 0%, rgba(18, 12, 6, 0.99) 100%);
    border: 2px solid var(--border, #6a4f32);
    border-radius: 12px;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(243, 156, 18, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 380px;
    max-width: 90vw;
    color: #e0d5c1;
    font-family: 'Inter', sans-serif;
    animation: slideUp-b-2rqini0bmd 0.25s ease-out;
    overflow: hidden;
}

/* ===== Header ===== */

.trade-header[b-2rqini0bmd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(106, 79, 50, 0.5);
    background: linear-gradient(180deg, rgba(40, 28, 14, 0.6) 0%, transparent 100%);
}

.trade-title[b-2rqini0bmd] {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
}

.trade-mode[b-2rqini0bmd] {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.buy-mode[b-2rqini0bmd] {
    color: var(--gold, #f39c12);
}

.sell-mode[b-2rqini0bmd] {
    color: #2ecc71;
}

.trade-close[b-2rqini0bmd] {
    background: none;
    border: none;
    color: #887a66;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.trade-close:hover[b-2rqini0bmd] {
    color: #f55;
    background: rgba(255, 85, 85, 0.1);
}

/* ===== Item Detail ===== */

.trade-item-detail[b-2rqini0bmd] {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(62, 39, 35, 0.4);
}

.trade-item-name[b-2rqini0bmd] {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 12px rgba(243, 156, 18, 0.15);
    margin-bottom: 4px;
}

.trade-item-category[b-2rqini0bmd] {
    font-size: 0.8rem;
    color: #998a75;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Quantity Section ===== */

.trade-quantity-section[b-2rqini0bmd] {
    padding: 16px 20px;
}

.trade-label[b-2rqini0bmd] {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #887a66;
    margin-bottom: 10px;
}

.quantity-controls[b-2rqini0bmd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.qty-btn[b-2rqini0bmd] {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid var(--border, #6a4f32);
    background: linear-gradient(180deg, #3a2818 0%, #2a1a0e 100%);
    color: #d0c0a0;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover:not(:disabled)[b-2rqini0bmd] {
    border-color: var(--gold, #f39c12);
    color: #fff;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.2);
}

.qty-btn:disabled[b-2rqini0bmd] {
    opacity: 0.35;
    cursor: not-allowed;
}

.qty-display[b-2rqini0bmd] {
    min-width: 60px;
    text-align: center;
}

.qty-value[b-2rqini0bmd] {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.2);
}

.qty-range[b-2rqini0bmd] {
    margin-bottom: 8px;
}

.qty-slider[b-2rqini0bmd] {
    width: 100%;
    height: 6px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(62, 39, 35, 0.6);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.qty-slider[b-2rqini0bmd]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f39c12 0%, #d68910 100%);
    border: 2px solid #ffd56b;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(243, 156, 18, 0.4);
    transition: box-shadow 0.2s ease;
}

.qty-slider[b-2rqini0bmd]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.6);
}

.qty-slider[b-2rqini0bmd]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f39c12 0%, #d68910 100%);
    border: 2px solid #ffd56b;
    cursor: pointer;
}

.qty-available[b-2rqini0bmd] {
    text-align: center;
    font-size: 0.8rem;
    color: #887a66;
}

.qty-available strong[b-2rqini0bmd] {
    color: #c0b090;
}

/* ===== Divider ===== */

.trade-divider[b-2rqini0bmd] {
    height: 1px;
    margin: 0 20px;
    background: linear-gradient(90deg, transparent 0%, #6a4f32 50%, transparent 100%);
}

/* ===== Summary ===== */

.trade-summary[b-2rqini0bmd] {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-row[b-2rqini0bmd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #c0b090;
}

.weight-row[b-2rqini0bmd] {
    color: #998a75;
    font-size: 0.85rem;
}

.total-row[b-2rqini0bmd] {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(62, 39, 35, 0.5);
    font-size: 1.05rem;
    font-weight: 600;
}

.cost-value[b-2rqini0bmd] {
    color: var(--gold, #f39c12);
    font-weight: 600;
}

.income-value[b-2rqini0bmd] {
    color: #2ecc71;
    font-weight: 600;
}

.total-value[b-2rqini0bmd] {
    font-size: 1.15rem;
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.2);
}

/* ===== Action Buttons ===== */

.trade-actions[b-2rqini0bmd] {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
}

.trade-cancel-btn[b-2rqini0bmd] {
    flex: 1;
    padding: 10px 0;
    border-radius: 6px;
    border: 1px solid #555;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #aaa;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trade-cancel-btn:hover[b-2rqini0bmd] {
    border-color: #888;
    color: #ddd;
    background: linear-gradient(180deg, #333 0%, #222 100%);
}

.trade-confirm-btn[b-2rqini0bmd] {
    flex: 2;
    padding: 10px 0;
    border-radius: 6px;
    border: 1px solid;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.confirm-buy[b-2rqini0bmd] {
    background: linear-gradient(180deg, #5a4025 0%, #3e2715 100%);
    border-color: var(--gold, #f39c12);
    color: var(--gold, #f39c12);
}

.confirm-buy:hover:not(:disabled)[b-2rqini0bmd] {
    background: linear-gradient(180deg, #6a4a2f 0%, #4e3320 100%);
    color: #fff;
    box-shadow: 0 0 16px rgba(243, 156, 18, 0.3);
}

.confirm-sell[b-2rqini0bmd] {
    background: linear-gradient(180deg, #1a4a2e 0%, #0f2f1a 100%);
    border-color: #2ecc71;
    color: #2ecc71;
}

.confirm-sell:hover:not(:disabled)[b-2rqini0bmd] {
    background: linear-gradient(180deg, #237a42 0%, #165a2e 100%);
    color: #fff;
    box-shadow: 0 0 16px rgba(46, 204, 113, 0.3);
}

.trade-confirm-btn:disabled[b-2rqini0bmd] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Status Message ===== */

.trade-status[b-2rqini0bmd] {
    padding: 10px 20px 16px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    animation: fadeIn-b-2rqini0bmd 0.3s ease;
}

.status-success[b-2rqini0bmd] {
    color: #2ecc71;
}

.status-error[b-2rqini0bmd] {
    color: #e74c3c;
}

/* ===== Animations ===== */

@keyframes fadeIn-b-2rqini0bmd {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-2rqini0bmd {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* /Layout/ConsolePanel.razor.rz.scp.css */
.console-wrapper[b-lillhtho3v] {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    background-color: rgba(15, 12, 10, 0.98);
    border: 2px solid #5d4037;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    z-index: 1000;
    font-family: 'Inter', monospace;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.8);
    pointer-events: auto;
}

.console-wrapper.expanded[b-lillhtho3v] {
    width: 800px;
}

.console-header[b-lillhtho3v] {
    padding: 5px 15px;
    background-color: #2c1e16;
    color: #f39c12;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid #4a3728;
    user-select: none;
}

.console-tabs[b-lillhtho3v] {
    display: flex;
    background: rgba(30, 20, 15, 0.8);
    border-bottom: 1px solid #4a3728;
    padding: 0 5px;
}

.tab-btn[b-lillhtho3v] {
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #8d7d6a;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    flex: 1;
}

.tab-btn:hover[b-lillhtho3v] {
    color: #c0b090;
    background: rgba(255,255,255,0.02);
}

.tab-btn.active[b-lillhtho3v] {
    color: var(--gold, #f39c12);
    border-bottom-color: var(--gold, #f39c12);
    background: rgba(243, 156, 18, 0.05);
}

.console-content[b-lillhtho3v] {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse; /* auto-scroll: newest at bottom stays visible */
    background: radial-gradient(circle at center, rgba(30,20,15,0.2) 0%, rgba(0,0,0,0) 100%);
    scrollbar-width: thin;
    scrollbar-color: #5d4037 transparent;
}

.log-entry[b-lillhtho3v] {
    margin-bottom: 6px;
    padding: 4px 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    border-radius: 4px;
    border-left: 2px solid transparent;
    animation: slideInLog-b-lillhtho3v 0.2s ease-out;
}

@keyframes slideInLog-b-lillhtho3v {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 1; transform: translateX(0); }
}

.log-time[b-lillhtho3v] {
    color: #666;
    font-family: monospace;
    font-size: 0.75rem;
    margin-right: 8px;
}

.market-log[b-lillhtho3v] {
    color: #2ecc71;
    border-left-color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
}

.map-log[b-lillhtho3v] {
    color: #3498db;
    border-left-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.chat-log[b-lillhtho3v] {
    color: #f1c40f;
}

.system-log[b-lillhtho3v] {
    color: #e0d5c1;
}

.error-log[b-lillhtho3v] {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.empty-log[b-lillhtho3v] {
    color: #555;
    text-align: center;
    padding: 40px;
    font-style: italic;
}

.chat-input-area[b-lillhtho3v] {
    display: flex;
    padding: 10px;
    background: #1a120b;
    border-top: 1px solid #4a3728;
    gap: 10px;
}

.chat-input-area input[b-lillhtho3v] {
    flex: 1;
    background: #000;
    border: 1px solid #3e2723;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.chat-input-area button[b-lillhtho3v] {
    background: var(--gold, #f39c12);
    border: none;
    color: #000;
    padding: 0 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
}
