.dt-6540fdc9-widget {
    font-family: inherit;
    width: 100%;
    margin-bottom: 15px;
}

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

.dt-6540fdc9-search-input {
    width: 250px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.dt-6540fdc9-table-container {
    width: 100%;
}

.dt-6540fdc9-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.dt-6540fdc9-table th, 
.dt-6540fdc9-table td {
    border: 1px solid #e2e8f0;
}

.dt-6540fdc9-table th {
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}

.dt-6540fdc9-th-icon {
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
}

.dt-6540fdc9-th-icon svg {
    fill: currentColor;
}

.dt-6540fdc9-header-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.dt-6540fdc9-sort-indicator {
    margin-left: auto;
    opacity: 0.5;
}

.dt-6540fdc9-table th.text-align-center .dt-6540fdc9-header-content,
.dt-6540fdc9-table td.text-align-center {
    justify-content: center;
    text-align: center;
}

.dt-6540fdc9-table th.text-align-right .dt-6540fdc9-header-content,
.dt-6540fdc9-table td.text-align-right {
    justify-content: flex-end;
    text-align: right;
}

.dt-6540fdc9-pagination {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dt-6540fdc9-pag-status {
    font-size: 14px;
    color: #666;
}

/* CSV Uploading styling in Editor Panel */
.angie-csv-importer-panel {
    background: #f1f3f5;
    padding: 15px;
    border: 1px dashed #ced4da;
    border-radius: 6px;
    margin-bottom: 20px;
}

.angie-csv-headers-mapping {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.angie-csv-mapping-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.angie-csv-mapping-row select {
    padding: 4px;
    font-size: 12px;
}

/* Mobile Responsive - Stacked Cards view */
@media (max-width: 767px) {
    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table,
    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table thead,
    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table tbody,
    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table th,
    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table td,
    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table tr {
        display: block;
    }

    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table thead {
        display: none;
    }

    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table tr {
        border-bottom: 2px solid #ddd;
        margin-bottom: 10px;
        background-color: #fff;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        text-align: right !important;
    }

    .dt-6540fdc9-mobile-cards .dt-6540fdc9-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #333;
    }
}

.dt-6540fdc9-mobile-scroll {
    overflow-x: auto;
}
