/* ==========================================================================
   ORIGINAL DATA + REFINED UI (Currency differentiated, Source organized)
   ========================================================================== */

.premium-order-board {
    padding: 24px;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Header */
.pob-header { margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 16px; }
.pob-title { font-size: 1.5rem; color: var(--mist-100); text-transform: uppercase; letter-spacing: 1.5px; margin: 0; font-weight: 700; display: block;}
.pob-sub { color: var(--mist-300); font-size: 0.85rem; margin: 8px 0 0 0; }

.modern-btn-cyan { background: var(--accent) !important; color: #000000 !important; border-radius: 4px !important; font-weight: 700 !important; padding: 0 20px !important; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s;}
.modern-btn-cyan:hover { background: var(--accent-strong) !important; transform: translateY(-1px); }

/* Grid Layout Constraints - Forces perfect alignment */
.pob-list { display: flex; flex-direction: column; gap: 12px; }
.pob-grid-header {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 0.8fr 1.2fr;
    padding: 0 24px 8px 24px;
    color: var(--mist-300);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* The Row */
.pob-row {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 0.8fr 1.2fr;
    background: var(--ink-900);
    border: 1px solid rgba(228, 220, 203, 0.08);
    border-radius: 8px;
    padding: 16px 24px;
    align-items: center;
    transition: all 0.2s ease-in-out;
}
.pob-row:hover {
    background: var(--ink-850);
    border-color: rgba(199, 166, 107, 0.38);
    box-shadow: 0 4px 15px rgba(83, 69, 52, 0.06);
}

/* Cells inside the Grid */
.pob-cell { display: flex; align-items: center; min-width: 0; }
.customer-cell { gap: 16px; }
.pob-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: 2px; }

/* Avatar */
.pob-avatar {
    width: 44px; height: 44px; border-radius: 6px;
    background: var(--ink-850); border: 1px solid rgba(228, 220, 203, 0.14); color: var(--accent);
    display: flex; justify-content: center; align-items: center;
    font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}

/* Typography & Text */
.pob-primary-text { font-weight: 600; color: var(--mist-100); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pob-secondary-text { font-size: 0.85rem; color: var(--mist-300); display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* MODIFIED: Source Tag for Customer */
.pob-source-tag {
    display: inline-flex; align-items: center; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    padding: 2px 8px; border-radius: 4px; margin-top: 4px; width: fit-content;
}
.source-text { font-size: 0.75rem; color: #94a3b8; font-weight: 500; }

.tiny-icon { font-size: 14px !important; width: 14px !important; height: 14px !important; min-width: 14px !important; min-height: 14px !important; margin-right: 6px; }

/* Order Code */
.pob-code {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); 
    padding: 4px 10px; border-radius: 4px;
    font-family: monospace; font-size: 0.9rem; color: var(--mist-100); width: fit-content;
}

/* MODIFIED: Differentiated Financials */
.pob-price { 
    display: flex; align-items: baseline; 
}
.currency-symbol { 
    font-size: 0.85rem; color: var(--mist-300); 
    font-weight: 500; margin-right: 3px; 
}
.amount-value { 
    font-size: 1.2rem; color: var(--accent); 
    font-weight: 800; letter-spacing: -0.5px; 
}

/* Trend Statuses */
.pure-trend, .pob-pay-status {
    font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center;
    padding: 6px 12px; border-radius: 4px; width: fit-content; text-transform: uppercase; letter-spacing: 0.5px;
}
.trend-green { background: rgba(52, 199, 89, 0.1); color: #34C759; border: 1px solid rgba(52, 199, 89, 0.2); }
.trend-red { background: rgba(255, 59, 48, 0.1); color: #FF3B30; border: 1px solid rgba(255, 59, 48, 0.2); }
.trend-orange { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(199, 166, 107, 0.24); }

/* Actions */
.action-cell { justify-content: flex-end; }
.quick-action-btn { 
    margin: 0 4px !important; transition: all 0.2s ease !important; 
    background: transparent !important; border: 1px solid transparent !important; 
    border-radius: 6px !important; color: var(--mist-300) !important; width: 40px; height: 40px;
}
.quick-action-btn:hover { 
    border-color: rgba(255,255,255,0.1) !important; 
    background: rgba(255,255,255,0.05) !important;
    color: var(--mist-100) !important;
}

/* Empty State */
.pob-state { text-align: center; padding: 60px 20px; background: rgba(164, 134, 93, 0.06); border: 1px dashed rgba(228, 220, 203, 0.14); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pob-state-icon { width: 80px; height: 80px; border-radius: 8px; background: var(--ink-850); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px solid rgba(228, 220, 203, 0.14); }
.pob-state-icon md-icon { font-size: 40px; width: 40px; height: 40px; color: var(--mist-300); }

/* Responsive adjustments */
@media screen and (max-width: 900px) {
    .pob-grid-header { display: none; }
    .pob-row { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
    .action-cell { justify-content: flex-start; }
}






