.cs_tab_body_table {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin: 25px 0;
}

div.dt-container select.dt-input {
    margin-right: 10px;
    border-radius: 8px;
}

table.dataTable thead > tr > th div.dt-column-header {
    text-align: center;
}

.dt-length label {
    display: none;
}

.dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: center;
}

.dt-search {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.dt-search label {
    color: #000000af;
    font-size: 0.9rem;
    margin-right: 10px;
    font-weight: 500;
}

.dt-search .dt-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px 10px 40px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 250px;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffc956' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 16px;
}

.dt-search .dt-input:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
    background-image: none;
}

.dt-search .dt-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dt-search {
        flex-direction: column;
        align-items: flex-start;
    }

    .dt-search label {
        margin-bottom: 8px;
        margin-right: 0;
    }

    .dt-search .dt-input {
        width: 100%;
    }
    div.dt-container select.dt-input {
        display: none;
    }
}

.styled-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: "Poppins", sans-serif;
    color: #e6e6e6;
}

.styled-table thead tr {
    background: linear-gradient(135deg, #ffc956 0%, #ff9a44 100%);
    color: #020203;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.styled-table th {
    padding: 16px 15px;
    text-align: center;
    position: relative;
}

.styled-table th:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(26, 26, 46, 0.3);
}

.styled-table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    vertical-align: middle;
}

.styled-table tbody tr {
    transition: all 0.3s ease;
}

.styled-table tbody {
    color: #000000d6;
}

.styled-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.styled-table tbody tr:hover {
    background-color: rgba(255, 201, 86, 0.1);
    transform: translateX(4px);
}

/* Payment Status Badges */
.payment-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-paid {
    background-color: rgba(92, 184, 92, 0.2);
    color: #5cb85c !important;
    border: 1px solid #5cb85c;
}

.bg-waiting {
    background-color: rgba(217, 84, 79, 0.2);
    color: #d9544f !important;
    border: 1px solid #d9544f;
}

/* Gender Icons */
.gender-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.gender-male {
    background-color: rgba(66, 165, 245, 0.2);
    color: #42a5f5;
}

.gender-female {
    background-color: rgba(236, 64, 122, 0.2);
    color: #ec407a;
}

/* Pagination Styling */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 40px;
    height: 40px;
    margin: 0 4px;
    border-radius: 8px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e6e6e6 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(255, 201, 86, 0.2) !important;
    color: #ffc956 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #ffc956 0%, #ff9a44 100%) !important;
    color: #1a1a2e !important;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #1a1a2e !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #666 !important;
    cursor: not-allowed;
}

/* Custom scrollbar for table */
.cs_tab_body::-webkit-scrollbar {
    height: 8px;
}

.cs_tab_body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.cs_tab_body::-webkit-scrollbar-thumb {
    background: rgba(255, 201, 86, 0.5);
    border-radius: 4px;
}

.cs_tab_body::-webkit-scrollbar-thumb:hover {
    background: #ffc956;
}
