/* DAVE Design System - Modern Tables */

.table,
.table.table-bordered,
.table.table-sm,
.table.table-bordered.table-sm {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.table thead th,
.table.table-bordered thead th,
.table.table-sm thead th,
.table.table-bordered.table-sm thead th {
    background-color: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #374151 !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    padding: 8px 12px !important;
    text-align: left !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.table tbody tr,
.table.table-bordered tbody tr,
.table.table-sm tbody tr,
.table.table-bordered.table-sm tbody tr {
    border-bottom: 1px solid #f3f4f6 !important;
}

.table tbody tr:hover,
.table.table-bordered tbody tr:hover,
.table.table-sm tbody tr:hover,
.table.table-bordered.table-sm tbody tr:hover {
    background-color: #f9fafb !important;
}

.table tbody tr:last-child,
.table.table-bordered tbody tr:last-child,
.table.table-sm tbody tr:last-child,
.table.table-bordered.table-sm tbody tr:last-child {
    border-bottom: none !important;
}

.table tbody td,
.table.table-bordered tbody td,
.table.table-sm tbody td,
.table.table-bordered.table-sm tbody td {
    padding: 8px 12px !important;
    border: none !important;
    color: #111827 !important;
    font-size: 0.875rem !important;
    vertical-align: middle !important;
}

/* Status badges - modern design */
.status-modern {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-bestellt { background-color: #fef3c7; color: #92400e; }
.status-bestätigt { background-color: #dbeafe; color: #1e40af; }
.status-bezahlt { background-color: #d1fae5; color: #047857; }
.status-versendet { background-color: #e0e7ff; color: #5b21b6; }
.status-abgeschlossen { background-color: #dcfce7; color: #15803d; }
.status-storniert { background-color: #fee2e2; color: #dc2626; }
.status-gepackt { background-color: #f3e8ff; color: #7c2d12; }

/* Links - clean modern style */
.link-clean {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.link-clean:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Icons - consistent styling */
.icon-clean {
    color: #6b7280;
    margin-right: 4px;
    font-size: 1rem;
}

.icon-clean.text-success { 
    color: #059669 !important; 
}

/* Tags - clean tag design */
.tag-clean {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 4px;
    display: inline-block;
    white-space: nowrap;
}

/* Amount/Number styling */
.amount-clean {
    font-weight: 600;
    color: #111827;
}

/* Table responsive wrapper */
.table-responsive {
    width: 100%;
    border-radius: 8px;
}