.treasury-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.metric-card {
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 14px;
    padding: 24px;
    transition: 0.25s;
}

.metric-card:hover {
    border-color: #4B5563;
    transform: translateY(-2px);
}

.metric-title {
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 14px;
}

.metric-value {
    color: #F9FAFB;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.metric-subtitle {
    margin-top: 16px;
    color: #9CA3AF;
    font-size: 13px;
}

.metric-subtitle span {
    float: right;
    color: #F9FAFB;
    font-weight: 600;
}

/* Utilitas Kelas Warna Dinamis untuk PNL & Status */
.positive {
    color: #16C784;
}

.negative {
    color: #EA3943;
}

/* ==========================================================================
   KOMPONEN TAMBAHAN: FITUR WITHDRAW
   ========================================================================== */
.withdraw-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

#withdraw-amount {
    width: 100%;
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #111827;
    color: white;
}

#withdraw-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #16C784;
    color: white;
    cursor: pointer;
}

#withdraw-button:hover {
    opacity: .9;
}

#withdraw-status {
    margin-top: 15px;
    color: #9CA3AF;
    font-size: 13px;
}

/* ==========================================================
   Withdraw Action Panel (TEMA MODIFIKASI MERAH)
   ========================================================== */
#withdrawCard {
    border: 2px solid #DC2626;
    background: #2A1A1A;
    box-shadow: 0 0 12px rgba(220, 38, 38, .20);
}

#withdrawCard .metric-title {
    color: #FCA5A5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.withdraw-warning {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #DC2626;
    background: #3B1818;
    color: #FCA5A5;
    font-size: 13px;
    line-height: 1.5;
}

#withdraw-amount {
    background: #111827;
    border: 1px solid #7F1D1D;
}

#withdraw-amount:focus {
    outline: none;
    border-color: #EF4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, .35);
}

#withdraw-button {
    background: #DC2626;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .5px;
    transition: .25s;
}

#withdraw-button:hover {
    background: #B91C1C;
}

#withdraw-button:active {
    transform: scale(.98);
}

#withdraw-status {
    margin-top: 16px;
    color: #FCA5A5;
    text-align: center;
    font-size: 13px;
}