.dataTables_wrapper {
    background: transparent;
    max-width: 1024px;
    padding-bottom: 100px;
    margin: 0 auto;
}

.dt-card-top {
    padding-bottom: 16px;
    background: transparent;
}

.dt-card-top .dataTables_filter {
    margin: 0;
}

.dt-card-top .dataTables_filter label {
    margin: 0;
    width: 100%;
    display: block;
}

.dt-card-top .dataTables_filter input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 16px;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dt-card-top .dataTables_filter input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.dt-card-top .dataTables_filter input::placeholder {
    color: #999;
}

/* Card List Container */
.dt-card-list {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual Card */
.dt-card-item {
    background: white;
    margin: 0;
    padding: 0;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dt-card-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Card Header */
.dt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.dt-card-id {
    font-size: 15px;
    color: #202124;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.3px;
}

/* Status Badge */
.dt-card-status {
    font-size: 13px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 4px 12px;
    border-radius: 12px;
    background: #e8f5e9;
    color: #2e7d32;
}

.dt-card-status.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.dt-card-status.archived {
    background: #ffebee;
    color: #c62828;
}

.dt-card-status.pending {
    background: #fff3e0;
    color: #ef6c00;
}

/* Card Body */
.dt-card-body {
    padding: 20px;
}

/* Card Fields - Simple Border Color Only */
.dt-card-field {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e4e9f0;
}

.dt-card-field:first-child {
    padding-top: 0;
}

.dt-card-field:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Label */
.dt-field-label {
    font-size: 13px;
    color: #9e9e9e;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    flex-shrink: 0;
}

.dt-field-value {
    font-size: 14px;
    color: #424242;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: right;
}

/* Action Buttons */
.dt-field-value a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    text-decoration: none;
    margin-left: 6px;
    transition: all 0.2s ease;
    background: #f5f5f5;
}

.dt-field-value a:hover {
    transform: translateY(-2px);
}

.dt-field-value a.btn-info {
    background: #e3f2fd;
    color: #1976d2;
}

.dt-field-value a.btn-warning {
    background: #fff3e0;
    color: #f57c00;
}

.dt-field-value a.btn-danger {
    background: #ffebee;
    color: #d32f2f;
}


.dt-field-value .fa {
    font-size: 14px;
}

/* Empty State */
.dt-card-empty {
    padding: 60px 20px;
    text-align: center;
    color: #9e9e9e;
    background: white;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dt-card-empty i {
    font-size: 48px;
    color: #e0e0e0;
    margin-bottom: 16px;
    display: block;
}

.dt-card-empty p {
    margin: 0;
    font-size: 14px;
    color: #9e9e9e;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Bottom Section */
.dt-card-bottom {
    padding: 16px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dt-card-bottom .dataTables_info {
    font-size: 13px;
    color: #757575;
    margin: 0;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dt-card-bottom .dataTables_paginate {
    margin: 0;
    display: flex;
    gap: 6px;
}

.dt-card-bottom .dataTables_paginate .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 12px;
    text-decoration: none !important;
    color: #424242 !important;
    background: white !important;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dt-card-bottom .dataTables_paginate .paginate_button:hover:not(.disabled):not(.current) {
    background: #f5f5f5 !important;
    border-color: #1d6be0 !important;
    color: #1d6be0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(124, 77, 255, 0.2);
}

.dt-card-bottom .dataTables_paginate .paginate_button.current {
    background: #1d6be0 !important;
    border-color: #1d6be0 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(124, 77, 255, 0.4);
}

.dt-card-bottom .dataTables_paginate .paginate_button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hide original table */
table.dataTable {
    display: none !important;
}

.dataTables_length {
    display: none;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    .dt-card-top {
        padding: 20px;
    }

    .dt-card-list {
        padding: 0 20px 20px 20px;
    }

    .dt-card-header {
        padding: 18px 24px;
    }

    .dt-card-body {
        padding: 24px;
    }

    .dt-card-field {
        padding: 16px 0;
    }

    .dt-card-bottom {
        padding: 20px;
    }

    .dt-card-item {
        border-radius: 20px;
    }
}

/* Scrollbar */
.dt-card-list::-webkit-scrollbar {
    width: 6px;
}

.dt-card-list::-webkit-scrollbar-track {
    background: transparent;
}

.dt-card-list::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.dt-card-list::-webkit-scrollbar-thumb:hover {
    background: #bdbdbd;
}

/* Smooth Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dt-card-item {
    animation: slideUp 0.3s ease-out;
}