/* Dashboard Styles */
.dashboard-container {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.alert-warning-custom {
    background: linear-gradient(135deg, #ff9a00, #ff6a00);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(255, 154, 0, 0.2);
    position: relative;
}

.alert-warning-custom .close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.alert-warning-custom .close-btn:hover {
    opacity: 1;
}

.bg-gradient-warning {
    background: linear-gradient(80deg, #ff9500 0, #ff6200 100%) !important;
    color: rgba(255, 255, 255, 0.7);
}

.commission-table {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.commission-table th {
    background-color: #f1f3f5;
    color: #495057;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.commission-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.commission-table tr:last-child td {
    border-bottom: none;
}

.commission-table .light {
    color: #6c757d;
    font-size: 0.85rem;
}

.stats-table {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    width: 100%;
}

.stats-table th {
    background-color: #f1f3f5;
    color: #495057;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.stats-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table .month-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.stats-table .month-link:hover {
    text-decoration: underline;
}

.stats-table .profit {
    color: #198754;
    font-weight: 500;
}

.stats-table .light {
    color: #6c757d;
}

.stats-table .total-row td {
    border-top: 2px solid #dee2e6;
}

.stats-table .grand-total {
    color: #198754;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-custom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    text-align: center;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-table {
        font-size: 0.85rem;
    }

    .stats-table th,
    .stats-table td {
        padding: 0.5rem;
    }

    .commission-table {
        max-width: 100%;
    }
}