.commission-wrapper {
    background: #fff;
    min-height: calc(100vh - 72px);
}

.commission-main-card {
    background: #fff;
    border-radius: 20px;
}

/* Header Section */
.commission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commission-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.commission-setup-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.commission-back-arrow {
    font-size: 20px;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.commission-back-arrow:hover {
    color: var(--riden-red);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-set-commission {
    background: #D10000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-set-commission:hover {
    background: #e0141b;
    color: #fff;
}

.date-picker-btn {
    border: 1px solid #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

/* Summary Cards */
.commission-summary-row {
    margin-bottom: 30px;
}

.summary-card-custom {
    background: #fff;
    border: 1.5px solid #D10000;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    transition: transform 0.2s;
}

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

.summary-card-info .label {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.summary-card-info .value {
    font-size: 34px;
    font-weight: 800;
    color: #000;
    margin: 0;
}

.summary-card-img {
    height: 90px;
    width: auto;
}

/* Table Section */
.commission-table-container {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--riden-shadow);
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
}

.commission-table thead tr {
    background: #FFEEEE;
}

.commission-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    color: #000;
}

.commission-table td {
    padding: 15px 20px;
    font-size: 13px;
    border-bottom: 1px solid #f8f9fa;
}

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

/* Pagination Style */
.pagination-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.commission-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.page-link-custom {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    background: #fff;
    transition: all 0.2s;
}

.page-link-custom.active {
    border-color: #D10000;
    color: #D10000;
}

.page-link-custom.arrow {
    background: #F8F9FA;
}

.page-link-custom:hover:not(.active) {
    background: #fdfdfd;
    border-color: #ddd;
}

/* Setup Section Styles */
.setup-table-container {
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 5px;
    box-shadow: var(--riden-shadow);
}

.setup-table {
    width: 100%;
    border-collapse: collapse;
}

.setup-table thead tr {
    background: #D10000;
}

.setup-table th {
    padding: 14px 25px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    border-right: 1.5px solid rgba(255, 255, 255, 0.2);
}

.setup-table th:last-child {
    border-right: none;
}

.setup-table td {
    padding: 12px 25px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    border-right: 1.5px solid #eee;
}

.setup-table td:last-child {
    border-right: none;
}

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

.car-type-cell {
    font-weight: 500;
    color: #444;
}

.percent-cell {
    color: #000;
}

.btn-save {
    background: #D10000;
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: #e0141b;
    color: #fff;
    transform: scale(1.02);
}