﻿/* Styles for the commissions page */

.commissions-container {
    padding: 2rem;
    color: #fff;
    background-color: #000 !important; /* Ensures a consistent black background */
}

.commissions-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    border-bottom: 1px solid #fff;
    padding-bottom: 1rem;
}

/*.commission-list-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}*/

.table-responsive {
    overflow-x: auto;
}

/* --- MODIFIED TABLE STYLES --- */
.commissions-table {
    width: 100% !important; /* Sets table width */
    margin: 0 auto !important; /* Centers the table */
    background-color: #000 !important; /* Table background */
    border-collapse: collapse;
}

    .commissions-table th, .commissions-table td {
        border: 1px solid #444;
        padding: 0.75rem 1rem;
        text-align: left;
        white-space: nowrap;
        background-color: #000 !important; /* Cell background */
        color: #fff;
    }

    .commissions-table th {
        background-color: #000 !important; /* Header background */
        color: #fff;
    }
/* --- END OF MODIFIED SECTION --- */


.btn-mark-paid {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.pagination {
    /* To center the pagination under the centered table */
    width: 95%;
    margin: 2rem auto;
    display: flex;
    justify-content: flex-start; /* Aligns buttons to the left */
}

    .pagination button {
        background-color: #000;
        color: #fff;
        border: 1px solid #555;
        padding: 0.5rem 1rem;
        margin: 0 0.2rem;
        cursor: pointer;
    }

        .pagination button.active {
            background-color: #555;
            border-color: #777;
        }

.summary-section {
    /* To align the summary with the centered table */
    width: 95%;
    margin: 2rem auto;
    border-top: 2px solid #444;
    padding-top: 1.5rem;
}

.summary-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.summary-section p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.summary-section strong {
    color: #fff;
}
