/* DASHBOARD TABLES */
.taa-dashboard-wrapper {
    margin: 20px 0;
    font-family: sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.taa-staging-header {
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.taa-staging-header h2 { margin: 0; font-size: 18px; color: #222; font-weight: 700; }
.taa-date-input { font-size: 14px; padding: 6px 10px; border: 1px solid #ccc; border-radius: 4px; }

/* --- SUMMARY BAR --- */
.taa-summary-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 20px;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
}
.taa-summ-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.taa-summ-val { font-weight: 800; font-size: 14px; color: #000; }
.taa-summ-label { text-transform: uppercase; font-size: 10px; color: #888; letter-spacing: 0.5px; }

.taa-summ-item.s-approved-box { border-left: 3px solid #28a745; }
.taa-summ-item.s-rejected-box { border-left: 3px solid #dc3545; }
.taa-summ-item.s-pending-box { border-left: 3px solid #ffc107; }
/* --- END SUMMARY BAR --- */

.taa-refresh-btn { 
    background: #fff; border: 1px solid #ccc; padding: 6px 12px; border-radius: 4px; 
    cursor: pointer; font-size: 13px; color: #555; transition: 0.2s; 
    display: inline-flex; align-items: center; gap: 5px; 
}
.taa-refresh-btn:hover { background: #f0f0f0; color: #0073aa; border-color: #0073aa; }
.taa-refresh-btn.spinning .taa-spin-icon { animation: taa-spin 1s linear infinite; }
@keyframes taa-spin { 100% { transform: rotate(360deg); } }

.taa-table-responsive {
    width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.taa-staging-table {
    width: 100%; border-collapse: collapse; min-width: 900px;
}
.taa-staging-table th {
    background: #f8f9fa; text-align: left; padding: 14px 15px; font-size: 12px;
    text-transform: uppercase; color: #555; font-weight: 700; border-bottom: 2px solid #ddd; white-space: nowrap;
}
.taa-staging-table td {
    padding: 12px 15px; border-bottom: 1px solid #eee; font-size: 13px;
    color: #444; vertical-align: middle; white-space: nowrap;
}
.taa-staging-table tr:hover { background-color: #fcfcfc; }

.taa-badge {
    display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 10px;
    font-weight: 800; text-transform: uppercase; color: white; letter-spacing: 0.5px;
}
.taa-buy { background-color: #28a745; }
.taa-sell { background-color: #dc3545; }

.taa-btn-view {
    display: inline-block; padding: 4px 10px; border: 1px solid #ddd;
    border-radius: 4px; font-size: 11px; text-decoration: none; color: #555;
    background: #fff; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.taa-btn-approve, .taa-btn-delete {
    border: none; background: none; cursor: pointer; font-size: 16px;
    margin: 0 4px; transition: transform 0.2s;
}
.taa-btn-approve { color: #28a745; }
.taa-btn-delete { color: #dc3545; }
.taa-btn-approve:hover, .taa-btn-delete:hover { transform: scale(1.2); }