.dashboard-section {
    padding: 80px 20px;
    animation: fadeInUp 1s ease-in-out;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 50px;
}

.dashboard-title {
    font-size: 28px;
    font-weight: 700;
}

.dashboard-subtitle {
    font-size: 16px;
    color: var(--color-secondary);
    margin-top: 10px;
}

/* Dashboard Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.dashboard-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.dashboard-count {
    font-size: 28px;
    font-weight: 700;
}

.dashboard-card.pending {
    border-left: 5px solid orange;
}

.dashboard-card.received {
    border-left: 5px solid green;
}

.dashboard-card.canceled {
    border-left: 5px solid red;
}

/* Orders Table */
.dashboard-orders {
    margin-top: 30px;
}

.orders-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.orders-table th,
.orders-table td {
    padding: 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.orders-table th {
    background-color: #f9f9f9;
    color: var(--color-black);
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status.pending {
    background-color: rgba(255, 165, 0, 0.1);
    color: orange;
}

.status.received {
    background-color: rgba(0, 128, 0, 0.1);
    color: green;
}

.status.canceled {
    background-color: rgba(255, 0, 0, 0.1);
    color: red;
}

.view-link {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.view-link:hover {
    color: var(--color-secondary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 22px;
    }

    .dashboard-card h3 {
        font-size: 16px;
    }

    .dashboard-count {
        font-size: 24px;
    }

    .orders-title {
        font-size: 18px;
    }

    .orders-table th,
    .orders-table td {
        font-size: 13px;
        padding: 12px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
