/*
==========================================================================
                              IMAGE STYLES
==========================================================================
*/

/* Force small image size with maximum specificity */
.unlockafe-dynamic-table-wrapper table.dataTable tbody td img.ua-img-small,
.unlockafe-dynamic-table-wrapper table.dataTable tbody td a img.ua-img-small,
.unlockafe-dynamic-table-wrapper table.dataTable td img.ua-img-small,
.unlockafe-dynamic-table-wrapper table.dataTable img.ua-img-small,
.unlockafe-dynamic-table-wrapper .dataTable tbody td img.ua-img-small,
.unlockafe-dynamic-table-wrapper .dataTable tbody td a img.ua-img-small,
.unlockafe-dynamic-table-wrapper .dataTable td img.ua-img-small,
.unlockafe-dynamic-table-wrapper .dataTable img.ua-img-small,
.unlockafe-dynamic-table-wrapper table tbody td img.ua-img-small,
.unlockafe-dynamic-table-wrapper table tbody td a img.ua-img-small,
.unlockafe-dynamic-table-wrapper table td img.ua-img-small,
.unlockafe-dynamic-table-wrapper table img.ua-img-small {
    max-width: 50px !important;
    width: 50px !important;
    height: auto !important;
    display: inline-block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    border-radius: 4px !important;
}

/* Ensure images don't exceed their container */
.unlockafe-dynamic-table-wrapper table.dataTable td,
.unlockafe-dynamic-table-wrapper table.dataTable th {
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Prevent DataTables from overriding our image styles */
.unlockafe-dynamic-table-wrapper .dataTable img[class*="ua-img-"] {
    box-sizing: content-box !important;
}

.unlockafe-dynamic-table-wrapper table.dataTable td img.ua-img-medium {
    max-width: 100px !important;
    width: 100px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
}

.unlockafe-dynamic-table-wrapper table.dataTable td img.ua-img-large {
    max-width: 150px !important;
    width: 150px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
}

/* Make images responsive within table cells */
.unlockafe-dynamic-table-wrapper table.dataTable td img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: contain;
}

/* Lightbox styles */
table.dataTable td img[data-lightbox] {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

table.dataTable td img[data-lightbox]:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/*
==========================================================================
                              GENERAL STYLES
==========================================================================
*/

.unlockafe-dynamic-table-wrapper {
    width: 100%;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ua-error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 14px;
}

.dataTables_empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

/*
==========================================================================
                              UI CONTROLS
==========================================================================
*/

.table-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.table-controls .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-controls .left-controls,
.table-controls .right-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.table-controls .dataTables_length select,
.table-controls .dataTables_filter input {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.table-controls .dataTables_filter input {
    width: 100%;
    box-sizing: border-box;
}

.table-controls .export-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.table-controls .export-buttons button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.table-controls .export-buttons button svg {
    width: 16px;
    height: 16px;
}

/*
==========================================================================
                              PAGINATION & FOOTER
==========================================================================
*/

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.dataTables_paginate {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 1rem 0;
    margin: 1rem 0 0 0;
    gap: 0.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.dataTables_paginate .paginate_button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: 6px;
    background: #fff;
    color: #4B5563;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

.dataTables_paginate .paginate_button:hover:not(.disabled) {
    text-decoration: none !important;
    background: #F9FAFB;
    border-color: #D1D5DB;
    color: #1F2937;
}

.dataTables_paginate .paginate_button.current {
    text-decoration: none !important;
    background: #4F46E5;
    border-color: #4F46E5;
    color: white;
}

.dataTables_paginate .paginate_button.disabled {
    text-decoration: none !important;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.dataTables_paginate .ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    color: #6B7280;
    user-select: none;
    padding: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .dataTables_paginate {
        justify-content: center;
    }

    .dataTables_paginate .paginate_button {
        min-width: 32px;
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.8125rem;
    }
}


/*
==========================================================================
                            THEME 1: DEFAULT (CARD ROWS)
==========================================================================
*/
.default-style-controls .export-buttons button {
    background-color: #eef2ff;
    color: #4338ca;
}

.default-style-controls .export-buttons button:hover {
    background-color: #e0e7ff;
}

.default-style-table-wrapper {
    overflow-x: auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
}

.default-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.default-style-table thead {
    display: none;
}

.default-style-table tbody tr {
    background-color: #f9fafb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.default-style-table tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.07);
}

.default-style-table td {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
    border: none;
}

.default-style-table td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-weight: 600;
    color: #111827;
}

.default-style-table td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.default-style-table .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.default-style-table .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.default-style-footer {
    color: #6b7280;
}

.default-style-pagination .paginate_button {
    color: #4f46e5;
    text-decoration: none !important;
}

.default-style-pagination .paginate_button:hover {
    background-color: #eef2ff;
}

.default-style-pagination .paginate_button.current {
    background-color: #4f46e5;
    color: #fff;
}

/*
==========================================================================
                            THEME 2: DEFAULT DARK (NEON)
==========================================================================
*/
.default-dark-style-wrapper {
    background-color: #111827;
    color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
}

.default-dark-style-controls label {
    color: #9ca3af;
}

.default-dark-style-controls select,
.default-dark-style-controls .dataTables_filter input {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #d1d5db !important;
}

.default-dark-style-controls .dataTables_filter input:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.4);
    outline: none;
}

.default-dark-style-controls .export-buttons button {
    background-color: #4c1d95;
    color: #c4b5fd;
}

.default-dark-style-controls .export-buttons button:hover {
    background-color: #5b21b6;
}

.default-dark-style-table-wrapper {
    overflow-x: auto;
}

.default-dark-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.default-dark-style-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.default-dark-style-table tbody tr {
    border-bottom: 1px solid #374151;
}

.default-dark-style-table tbody tr:last-child {
    border-bottom: none;
}

.default-dark-style-table td {
    padding: 1.25rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #d1d5db;
}

.default-dark-style-table .font-medium {
    font-weight: 500;
    color: #f9fafb;
}

.default-dark-style-table .status-badge {
    background: transparent;
    border: 1px solid;
}

.default-dark-style-table .status-in-stock {
    color: #86efac;
    border-color: #86efac;
}

.default-dark-style-table .status-out-of-stock {
    color: #fca5a5;
    border-color: #fca5a5;
}

.default-dark-style-footer {
    color: #9ca3af;
}

.default-dark-style-pagination .paginate_button {
    color: #a78bfa;
    border: 1px solid #4c1d95;
    text-decoration: none !important;
}

.default-dark-style-pagination .paginate_button:hover {
    background-color: #4c1d95;
    color: #fff;
}

.default-dark-style-pagination .paginate_button.current {
    background-color: #a78bfa;
    color: #1e1b4b;
    border-color: #a78bfa;
}

/*
==========================================================================
                            THEME 3: STRIPED (BOLD HEADER)
==========================================================================
*/
.striped-style-controls .export-buttons button {
    background-color: #e5e7eb;
    color: #374151;
}

.striped-style-controls .export-buttons button:hover {
    background-color: #d1d5db;
}

.striped-style-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
}

.striped-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.striped-style-table thead {
    background-color: #4b5563;
    color: #fff;
}

.striped-style-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.striped-style-table td {
    padding: 1.25rem 1.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #374151;
}

.striped-style-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.striped-style-table tbody tr:nth-child(even) {
    background-color: #f3f4f6;
}

.striped-style-table .font-medium {
    font-weight: 600;
    color: #111827;
}

.striped-style-table .status-badge {
    border-radius: 6px;
}

.striped-style-table .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.striped-style-table .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.striped-style-footer {
    color: #4b5563;
}

.striped-style-pagination .paginate_button {
    background-color: #f3f4f6;
    color: #4b5563;
    text-decoration: none !important;
}

.striped-style-pagination .paginate_button:hover {
    background-color: #e5e7eb;
}

.striped-style-pagination .paginate_button.current {
    background-color: #4b5563;
    color: #fff;
}

/*
==========================================================================
                            THEME 4: BORDERED (DASHED)
==========================================================================
*/
.bordered-style-controls select,
.bordered-style-controls .dataTables_filter input {
    border-style: dashed;
    border-width: 2px;
}

.bordered-style-controls .export-buttons button {
    background-color: #fff;
    color: #4f46e5;
    border: 2px dashed #4f46e5;
}

.bordered-style-controls .export-buttons button:hover {
    background-color: #f9fafb;
}

.bordered-style-table-wrapper {
    overflow-x: auto;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1rem;
}

.bordered-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.bordered-style-table th,
.bordered-style-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.875rem;
    border: 2px dashed #d1d5db;
}

.bordered-style-table th {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bordered-style-table .font-medium {
    font-weight: 500;
    color: #111827;
}

.bordered-style-table .status-badge {
    border-radius: 4px;
}

.bordered-style-table .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.bordered-style-table .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.bordered-style-footer {
    color: #4b5563;
}

.bordered-style-pagination .paginate_button {
    color: #4b5563;
    border: 2px dashed #d1d5db;
    text-decoration: none !important;
}

.bordered-style-pagination .paginate_button:hover {
    background-color: #f9fafb;
}

.bordered-style-pagination .paginate_button.current {
    background-color: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

/*
==========================================================================
                            THEME 5: HOVER (LIFT & GLOW)
==========================================================================
*/
.hover-style-controls select,
.hover-style-controls .dataTables_filter input {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hover-style-controls .export-buttons button {
    background-color: #fff;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.hover-style-controls .export-buttons button:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hover-style-table-wrapper {
    overflow-x: auto;
}

.hover-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    border-spacing: 0;
}

.hover-style-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.hover-style-table tbody tr {
    transition: all 0.2s ease-in-out;
}

.hover-style-table tbody tr:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transform: scale(1.02);
    border-radius: 8px;
    z-index: 10;
    position: relative;
}

.hover-style-table td {
    padding: 1.25rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.hover-style-table tbody tr:hover td {
    border-color: transparent;
}

.hover-style-table .font-medium {
    font-weight: 500;
    color: #111827;
}

.hover-style-table .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.hover-style-table .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.hover-style-footer {
    color: #6b7280;
}

.hover-style-pagination .paginate_button {
    color: #6b7280;
    text-decoration: none !important;
}

.hover-style-pagination .paginate_button:hover {
    background-color: #f9fafb;
    color: #111827;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hover-style-pagination .paginate_button.current {
    background-color: #fff;
    color: #4f46e5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/*
==========================================================================
                            THEME 6: COMPACT (MONOSPACE)
==========================================================================
*/
.compact-style-controls select,
.compact-style-controls .dataTables_filter input {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
}

.compact-style-controls .export-buttons button {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    background-color: #f3f4f6;
    color: #374151;
}

.compact-style-controls .export-buttons button:hover {
    background-color: #e5e7eb;
}

.compact-style-table-wrapper {
    overflow-x: auto;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.compact-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-family: 'Roboto Mono', monospace;
}

.compact-style-table thead th {
    padding: 0.5rem 1rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    border-bottom: 2px solid #e5e7eb;
}

.compact-style-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.compact-style-table tbody tr:last-child {
    border-bottom: none;
}

.compact-style-table td {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    font-size: 0.8rem;
    color: #374151;
}

.compact-style-table .status-badge {
    padding: 0.125rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 4px;
}

.compact-style-table .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.compact-style-table .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.compact-style-footer {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: #4b5563;
}

.compact-style-pagination .paginate_button {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: #4b5563;
    text-decoration: none !important;
}

.compact-style-pagination .paginate_button:hover {
    background-color: #f3f4f6;
}

.compact-style-pagination .paginate_button.current {
    background-color: #e5e7eb;
}

/*
==========================================================================
                            THEME 7: GRADIENT (ROW GRADIENT)
==========================================================================
*/
.gradient-style-controls .export-buttons button {
    background-color: #ecf0f1;
    color: #2c3e50;
}

.gradient-style-controls .export-buttons button:hover {
    background-color: #bdc3c7;
}

.gradient-style-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
}

.gradient-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.gradient-style-table thead th {
    background: #2c3e50;
    color: #ffffff;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gradient-style-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.gradient-style-table td {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
    background: linear-gradient(to right, #ffffff, #f7f8f9);
}

.gradient-style-table .font-medium {
    font-weight: 500;
    color: #111827;
}

.gradient-style-table .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.gradient-style-table .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.gradient-style-footer {
    color: #2c3e50;
}

.gradient-style-pagination .paginate_button {
    color: #2c3e50;
    text-decoration: none !important;
}

.gradient-style-pagination .paginate_button:hover {
    background-color: #ecf0f1;
}

.gradient-style-pagination .paginate_button.current {
    background: #2c3e50;
    color: #fff;
}

/*
==========================================================================
                            THEME 8: MINIMAL (SPACIOUS)
==========================================================================
*/
.minimal-style-controls select,
.minimal-style-controls .dataTables_filter input {
    background-color: #f9fafb;
    border-color: #f0f2f5;
}

.minimal-style-controls .export-buttons button {
    background-color: transparent;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.minimal-style-controls .export-buttons button:hover {
    background-color: #f9fafb;
}

.minimal-style-table-wrapper {
    overflow-x: auto;
}

.minimal-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.minimal-style-table thead th {
    padding: 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 400;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.minimal-style-table tbody tr {
    border-bottom: 1px solid #f0f2f5;
}

.minimal-style-table tbody tr:last-child {
    border-bottom: none;
}

.minimal-style-table td {
    padding: 1.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #374151;
}

.minimal-style-table .font-medium {
    font-weight: 600;
    color: #111827;
}

.minimal-style-table .status-badge {
    border: none;
    background-color: transparent;
    padding-left: 0;
}

.minimal-style-table .status-in-stock {
    color: #10b981;
}

.minimal-style-table .status-out-of-stock {
    color: #ef4444;
}

.minimal-style-footer {
    color: #6b7280;
}

.minimal-style-pagination .paginate_button {
    color: #6b7280;
    text-decoration: none !important;
}

.minimal-style-pagination .paginate_button:hover {
    color: #111827;
}

.minimal-style-pagination .paginate_button.current {
    font-weight: 700;
    color: #4f46e5;
}

/*
==========================================================================
                            THEME 9: MINIMAL DARK
==========================================================================
*/
.minimal-dark-style-wrapper {
    background-color: #111827;
    color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
}

.minimal-dark-style-controls label {
    color: #9ca3af;
}

.minimal-dark-style-controls select,
.minimal-dark-style-controls .dataTables_filter input {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #d1d5db !important;
}

.minimal-dark-style-controls .export-buttons button {
    background-color: transparent;
    color: #d1d5db;
    border: 1px solid #4b5563;
}

.minimal-dark-style-controls .export-buttons button:hover {
    background-color: #374151;
}

.minimal-dark-style-table-wrapper {
    overflow-x: auto;
}

.minimal-dark-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.minimal-dark-style-table thead th {
    padding: 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 400;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.minimal-dark-style-table tbody tr {
    border-bottom: 1px solid #374151;
}

.minimal-dark-style-table tbody tr:last-child {
    border-bottom: none;
}

.minimal-dark-style-table td {
    padding: 1.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #d1d5db;
}

.minimal-dark-style-table .font-medium {
    font-weight: 600;
    color: #f9fafb;
}

.minimal-dark-style-table .status-badge {
    border: none;
    background-color: transparent;
    padding-left: 0;
}

.minimal-dark-style-table .status-in-stock {
    color: #34d399;
}

.minimal-dark-style-table .status-out-of-stock {
    color: #f87171;
}

.minimal-dark-style-footer {
    color: #9ca3af;
}

.minimal-dark-style-pagination .paginate_button {
    color: #9ca3af;
    text-decoration: none !important;
}

.minimal-dark-style-pagination .paginate_button:hover {
    color: #fff;
}

.minimal-dark-style-pagination .paginate_button.current {
    font-weight: 700;
    color: #60a5fa;
}

/*
==========================================================================
                            THEME 10: MINIMAL ELEGANT (SERIF)
==========================================================================
*/
.minimal-elegant-style-wrapper {
    background-color: #fdfdfd;
    color: #333;
    padding: 2rem;
    border-radius: 1rem;
}

.minimal-elegant-style-controls label {
    font-family: 'Playfair Display', serif;
    color: #555;
}

.minimal-elegant-style-controls select,
.minimal-elegant-style-controls .dataTables_filter input {
    border-color: #eee !important;
    font-family: 'Inter', sans-serif !important;
}

.minimal-elegant-style-controls .export-buttons button {
    background-color: #fff;
    color: #333;
    border: 1px solid #eee;
}

.minimal-elegant-style-controls .export-buttons button:hover {
    background-color: #f9f9f9;
}

.minimal-elegant-style-table-wrapper {
    overflow-x: auto;
}

.minimal-elegant-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: 'Inter', sans-serif;
}

.minimal-elegant-style-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-transform: capitalize;
    border-bottom: 2px solid #111;
}

.minimal-elegant-style-table tbody td {
    padding: 2rem 1.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.minimal-elegant-style-table tbody tr:last-child td {
    border-bottom: none;
}

.minimal-elegant-style-table .font-medium {
    font-weight: 600;
    color: #000;
}

.minimal-elegant-style-table .status-badge {
    font-weight: 500;
}

.minimal-elegant-style-table .status-in-stock {
    color: #22c55e;
}

.minimal-elegant-style-table .status-out-of-stock {
    color: #ef4444;
}

.minimal-elegant-style-footer {
    color: #555;
}

.minimal-elegant-style-pagination .paginate_button {
    font-family: 'Playfair Display', serif;
    color: #555;
    text-decoration: none !important;
}

.minimal-elegant-style-pagination .paginate_button:hover {
    color: #000;
}

.minimal-elegant-style-pagination .paginate_button.current {
    font-weight: 700;
    color: #000;
    border: 1px solid #000;
}

/*
==========================================================================
                            THEME 11: DARK (BLUE TINT)
==========================================================================
*/
.dark-style-wrapper {
    background-color: #111827;
    color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
}

.dark-style-controls label {
    color: #94a3b8;
}

.dark-style-controls select,
.dark-style-controls .dataTables_filter input {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #cbd5e1 !important;
}

.dark-style-controls .export-buttons button {
    background-color: #334155;
    color: #cbd5e1;
}

.dark-style-controls .export-buttons button:hover {
    background-color: #475569;
}

.dark-style-table-wrapper {
    overflow-x: auto;
    background-color: #1e293b;
    border-radius: 0.5rem;
    border: 1px solid #334155;
}

.dark-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.dark-style-table thead {
    background-color: #0f172a;
}

.dark-style-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark-style-table tbody tr {
    border-bottom: 1px solid #334155;
}

.dark-style-table tbody tr:last-child {
    border-bottom: none;
}

.dark-style-table td {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.dark-style-table .font-medium {
    font-weight: 500;
    color: #f1f5f9;
}

.dark-style-table .status-in-stock {
    background-color: #166534;
    color: #dcfce7;
}

.dark-style-table .status-out-of-stock {
    background-color: #991b1b;
    color: #fee2e2;
}

.dark-style-footer {
    color: #94a3b8;
}

.dark-style-pagination .paginate_button {
    color: #94a3b8;
    text-decoration: none !important;
}

.dark-style-pagination .paginate_button:hover {
    background-color: #334155;
}

.dark-style-pagination .paginate_button.current {
    background-color: #7dd3fc;
    color: #0f172a;
}

/*
==========================================================================
                            THEME 12: UPPERCASE HEADING (INDUSTRIAL)
==========================================================================
*/
.uppercase-heading-style-controls select,
.uppercase-heading-style-controls .dataTables_filter input {
    border-width: 2px;
    border-color: #d1d5db !important;
    font-weight: 500;
}

.uppercase-heading-style-controls .export-buttons button {
    background-color: #111827;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.uppercase-heading-style-controls .export-buttons button:hover {
    background-color: #374151;
}

.uppercase-heading-style-table-wrapper {
    overflow-x: auto;
    background-color: #fff;
}

.uppercase-heading-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.uppercase-heading-style-table thead th {
    padding: 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 3px solid #111827;
}

.uppercase-heading-style-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.uppercase-heading-style-table tbody tr:last-child {
    border-bottom: none;
}

.uppercase-heading-style-table td {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
}

.uppercase-heading-style-table .font-medium {
    font-weight: 500;
    color: #111827;
}

.uppercase-heading-style-table .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.uppercase-heading-style-table .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.uppercase-heading-style-footer {
    color: #111827;
    font-weight: 500;
}

.uppercase-heading-style-pagination .paginate_button {
    color: #111827;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none !important;
}

.uppercase-heading-style-pagination .paginate_button:hover {
    background-color: #f3f4f6;
}

.uppercase-heading-style-pagination .paginate_button.current {
    background-color: #111827;
    color: #fff;
}

/*
==========================================================================
                            THEME 13: VERTICAL (MODERN CARDS)
==========================================================================
*/
.vertical-style-table-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vertical-style-table-wrapper .unlockafe-dynamic-table {
    display: contents;
    /* Allows the grid layout to apply to the rows */
}

.vertical-style-table-wrapper thead {
    display: none;
}

.vertical-style-table-wrapper tbody {
    display: contents;
}

.vertical-style-table-wrapper tr {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vertical-style-table-wrapper td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: none;
}

.vertical-style-table-wrapper td::before {
    content: attr(data-label);
    font-weight: 500;
    color: #6b7280;
}

.vertical-style-table-wrapper .status-in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.vertical-style-table-wrapper .status-out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

/*
==========================================================================
                            THEME 14: DARK KNIGHT (GOLD ACCENT)
==========================================================================
*/
.dark-knight-style-wrapper {
    background-color: #0d0d0d;
    color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
}

.dark-knight-style-controls label {
    color: #a0a0a0;
}

.dark-knight-style-controls select,
.dark-knight-style-controls .dataTables_filter input {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
    color: #e0e0e0 !important;
}

.dark-knight-style-controls .dataTables_filter input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
    outline: none;
}

.dark-knight-style-controls .export-buttons button {
    background-color: #d4af37;
    color: #1c1c1c;
}

.dark-knight-style-controls .export-buttons button:hover {
    background-color: #ffdf70;
}

.dark-knight-style-table-wrapper {
    overflow-x: auto;
    background-color: #1c1c1c;
    border-radius: 8px;
    border: 1px solid #2c2c2c;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.dark-knight-style-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.dark-knight-style-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #d4af37;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.dark-knight-style-table tbody tr {
    border-bottom: 1px solid #2c2c2c;
    transition: background-color 0.2s ease;
}

.dark-knight-style-table tbody tr:last-child {
    border-bottom: none;
}

.dark-knight-style-table tbody tr:hover {
    background-color: #252525;
}

.dark-knight-style-table td {
    padding: 1.25rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #e0e0e0;
}

.dark-knight-style-table .font-medium {
    font-weight: 500;
    color: #ffffff;
}

.dark-knight-style-table .status-badge {
    border-radius: 4px;
}

.dark-knight-style-table .status-in-stock {
    background-color: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.dark-knight-style-table .status-out-of-stock {
    background-color: rgba(248, 113, 113, 0.1);
    color: #f87171;
}

.dark-knight-style-footer {
    color: #a0a0a0;
}

.dark-knight-style-pagination .paginate_button {
    color: #d4af37;
    border: 1px solid #d4af37;
    text-decoration: none !important;
}

.dark-knight-style-pagination .paginate_button:hover {
    background-color: #d4af37;
    color: #1c1c1c;
}

.dark-knight-style-pagination .paginate_button.current {
    background-color: #d4af37;
    color: #1c1c1c;
}