/* Table Base Styles */
.dt-wrapper-a5f6aa29 {
    width: 100%;
    font-family: inherit;
}

.dt-search-bar {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-end;
}

.dt-search-input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
    max-width: 100%;
}

.dt-table-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.dt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.dt-table th, .dt-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.dt-table th {
    background: #f8f9fa;
    font-weight: 600;
    text-align: left;
    cursor: default;
    position: relative;
    user-select: none;
}

.dt-wrapper-a5f6aa29[data-sort="yes"] .dt-table th {
    cursor: pointer;
}

.dt-th-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dt-col-icon {
    display: inline-flex;
    align-items: center;
}

.dt-col-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.dt-sort-icon {
    opacity: 0.3;
    font-size: 0.8em;
    margin-left: auto;
}

.dt-table th.dt-sorted-asc .dt-sort-icon,
.dt-table th.dt-sorted-desc .dt-sort-icon {
    opacity: 1;
}

.dt-table tbody tr:hover td {
    background-color: rgba(0,0,0,0.02);
}

.dt-col-left { text-align: left; }
.dt-col-center { text-align: center; }
.dt-col-right { text-align: right; }
.dt-col-center .dt-th-content { justify-content: center; }
.dt-col-right .dt-th-content { justify-content: flex-end; }

/* Pagination */
.dt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.dt-pagination button {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.dt-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Options */
.dt-mobile-scroll {
    overflow-x: auto;
}

@media (max-width: 767px) {
    .dt-mobile-stacked .dt-table thead {
        display: none;
    }
    .dt-mobile-stacked .dt-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 10px;
    }
    .dt-mobile-stacked .dt-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f5f5f5;
        padding: 10px 5px;
        text-align: right;
    }
    .dt-mobile-stacked .dt-table td:last-child {
        border-bottom: none;
    }
    .dt-mobile-stacked .dt-table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        margin-right: 15px;
    }
}
