/* Dashboard-specific table styles */
.dashboard-table {
    box-shadow: 0 2px 12px rgba(37,99,235,0.08);
    border: 1px solid #e3e8ee;
    border-radius: 0.5rem;
    background: transparent;
    margin-bottom: 1rem;
    overflow-x: auto;
}
.dashboard-table table tbody tr {
    transition: background 0.2s;
}
.dashboard-table table tbody tr.document-row {
    border-bottom: 1px solid #e3e8ee;
}
.dashboard-table table tbody tr:hover {
    background: #eaf4fb;
}
.dashboard-table table tbody tr.main-document-row {
    background: #f4f8fd;
    font-weight: 500;
}
.dashboard-table table tbody tr.line-item-row:nth-child(even) {
    background: #f9fbfd;
}
.dashboard-table table tbody tr.line-item-row:nth-child(odd) {
    background: #f1f5fa;
    letter-spacing: 0.5px;
}
.dashboard-table table {
    width: 100%;
    table-layout: fixed;
}
.dashboard-table table thead th {
background-color: #52b2f7;
position: sticky;
top: 0;
z-index: 2;
box-shadow: 0 2px 8px rgba(37,99,235,0.04);
background-color: #52b2f7;
color: #1e293b;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: none;
vertical-align: middle;
}
.dashboard-table input.form-control,
.dashboard-table select.form-select {
    background: #fff;
    border: 1px solid #c3dafe;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(37,99,235,0.04);
}
.dashboard-table input.form-control:focus,
.dashboard-table select.form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
.dashboard-table .action-buttons .btn-icon {
    background: transparent;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
    color: #2563eb;
    font-size: 1.1rem;
    box-shadow: none;
}
.dashboard-table .action-buttons .btn-icon:hover {
background: transparent;
transform: scale(1.15);
color: #1d4ed8;
}
.dashboard-table .action-buttons .btn-icon:active {
background: transparent;
transform: scale(0.98);
}
.dashboard-table .action-buttons .btn-icon.btn-success {
    color: #22C55E;
    background: #e6fbe6;
}
.dashboard-table .action-buttons .btn-icon.btn-danger {
    color: #ef4444;
    background: #fde6e6;
}
.dashboard-table .action-buttons .btn-icon.btn-primary {
    color: #2563eb;
    background: #eaf4fb;
}
.dashboard-table .add-line-item-btn {
    width: 100%;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    background-color: #52b2f7;
    color: #fff;
    border: 1px solid #2563eb;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(37,99,235,0.07);
    transition: background 0.18s, box-shadow 0.18s;
}
.dashboard-table .add-line-item-btn:hover,
.dashboard-table .add-line-item-btn:focus {
    background-color: #2563eb;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.12);
    text-decoration: none;
}
