/* Dashboard Specific Styles */

.dashboard-container {
    padding: 20px;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h2 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.dashboard-header p {
    color: #7f8c8d;
    font-size: 16px;
}

/* Statistics Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 2rem 0 rgba(58, 59, 69, 0.2);
}

.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.text-xs {
    font-size: 0.7rem;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

/* Quick Actions */
.quick-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.quick-actions .btn i {
    margin-right: 8px;
}

/* Table Styling */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fc;
    border: none;
    font-weight: 600;
    color: #5a5c69;
    font-size: 0.85rem;
    padding: 1rem 0.75rem;
}

.table tbody td {
    padding: 0.75rem;
    vertical-align: middle;
    border-top: 1px solid #e3e6f0;
}

.table tbody tr:hover {
    background-color: #f8f9fc;
}

/* Chart Container */
#omzetChart {
    height: 300px !important;
}

/* Update Items */
.update-item {
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fc;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.update-item:hover {
    background-color: #eaecf4;
    transform: translateX(5px);
}

.update-item:last-child {
    margin-bottom: 0;
}

.update-item h6 {
    color: #2c3e50;
    font-weight: 600;
}

.update-item .small {
    color: #6c757d;
    line-height: 1.4;
}

/* Badges */
.badge {
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .quick-actions .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .update-item {
        padding: 10px;
    }
}

/* Loading States */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Card Headers */
.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
}

.card-header h6 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

/* Statistics Numbers */
.h5 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Icon Styling */
.fa-2x {
    font-size: 2em;
}

/* Button Styling */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    transform: scale(1.05);
}

/* Chart Responsive */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Custom Scrollbar for Updates */
.card-body::-webkit-scrollbar {
    width: 6px;
}

.card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.card-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.card-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animation for loading */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Status indicators */
.text-success { color: #1cc88a !important; }
.text-primary { color: #4e73df !important; }
.text-warning { color: #f6c23e !important; }
.text-danger { color: #e74a3b !important; }
.text-info { color: #36b9cc !important; }
.text-secondary { color: #858796 !important; }

/* Background colors for badges */
.bg-primary { background-color: #4e73df !important; }
.bg-success { background-color: #1cc88a !important; }
.bg-warning { background-color: #f6c23e !important; }
.bg-danger { background-color: #e74a3b !important; }
.bg-info { background-color: #36b9cc !important; }
.bg-secondary { background-color: #858796 !important; }