
/* Main Dashboard Container */

.icd-dashboard {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Sales Overview Grid */

.icd-dashboard .icd-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* Individual Statistic Cards */

.icd-dashboard .icd-stat-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

/* Card Labels */

.icd-dashboard .icd-stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

/* Card Values */

.icd-dashboard .icd-stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

/* Mobile Layout */

@media (max-width: 767px) {
    .icd-dashboard .icd-stats {
        grid-template-columns: 1fr;
    }

    .icd-dashboard .icd-stat-card {
        padding: 22px;
    }
}


/* Coupon Card */

.icd-dashboard .icd-coupon-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    margin: 30px 0 40px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.icd-dashboard .icd-coupon-info,
.icd-dashboard .icd-commission-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icd-dashboard .icd-coupon-label {
    font-size: 14px;
    color: #64748b;
}

.icd-dashboard .icd-coupon-code {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111827;
}

.icd-dashboard .icd-commission-rate {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
}

@media (max-width: 767px) {
    .icd-dashboard .icd-coupon-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}


/* Recent Orders Section */

.icd-dashboard .icd-orders-table-wrapper {
    margin-top: 24px;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

/* Orders Table */

.icd-dashboard .icd-orders-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

/* Table Header */

.icd-dashboard .icd-orders-table thead {
    background: #f8fafc;
}

.icd-dashboard .icd-orders-table th {
    padding: 18px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border-bottom: 1px solid #e5e7eb;
}

/* Table Cells */

.icd-dashboard .icd-orders-table td {
    padding: 20px 24px;
    text-align: left;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
}

/* Remove last row border */

.icd-dashboard .icd-orders-table tbody tr:last-child td {
    border-bottom: none;
}

/* Empty Orders Message */

.icd-dashboard .icd-empty-orders {
    padding: 30px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #64748b;
}
