.modalwindow {
    border: 2px solid black;
    padding: 5px;
    border-radius: 6px;
    background: #282828;
    border-color: #282828;
    cursor: pointer;
    max-width: 800px;
    max-height: 400px;;
}

.option-btn {
    transition: all 0.2s ease;
    cursor: pointer;
}

.option-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(146, 214, 173, 0.15);
}

.option-btn.selected {
    border-color: #92d6ad;
    background: linear-gradient(135deg, rgba(146, 214, 173, 0.1) 0%, rgba(146, 214, 173, 0.05) 100%);
}

.product-card {
    transition: all 0.2s ease;
}

.product-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(146, 214, 173, 0.1);
}

.loading-spinner {
    width: 40px;
    height: 40px;
}


.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #92d6ad;
    animation: loadingBounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

@keyframes loadingBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}


.product-thumb {
    position: relative;
    cursor: pointer;
}

.product-thumb img {
    transition: all 0.3s ease;
}

.product-thumb:hover img {
    transform: scale(1.1);
}

.product-thumb:hover .zoom-overlay {
    opacity: 1;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-icon {
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px;
    border-radius: 50%;
}


.results-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.results-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #475569;
}

.results-table td {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.results-table tr:hover td {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.results-table tr:hover {
    transform: none;
    box-shadow: none;
}


.dataTables_length {
    text-align: left !important;
    margin-bottom: 0 !important;
    float: left !important;
    margin-top: 1rem !important;
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
}

.dataTables_length label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0 !important;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.dataTables_length select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    background: white;
    color: #374151;
    margin-left: 0.5rem !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dataTables_length select:hover {
    border-color: #92d6ad;
    box-shadow: 0 2px 6px rgba(146, 214, 173, 0.2);
}

.dataTables_length select:focus {
    outline: none;
    border-color: #92d6ad;
    box-shadow: 0 0 0 3px rgba(146, 214, 173, 0.1);
}

.dataTables_info {
    margin-top: 1rem !important;
    text-align: center !important;
    float: none !important;
    margin-left: 0 !important;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    position: absolute !important;
    bottom: 14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.dataTables_paginate {
    margin-top: 1rem !important;
    float: right !important;
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
}


.dataTables_wrapper {
    position: relative !important;
    padding-bottom: 60px !important;
}


.ring-mounting-animation {
    position: relative;
    width: 80px;
    height: 80px;
}

.ring-base {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #92d6ad;
    border-radius: 50%;
    top: 10px;
    left: 10px;
    animation: ringRotate 2s ease-in-out infinite;
}

.diamond-stone {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #e0f2fe, #ffffff, #f0f9ff);
    border-radius: 50%;
    top: 30px;
    left: 30px;
    animation: diamondMount 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(146, 214, 173, 0.3);
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #92d6ad;
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle-1 {
    top: 15px;
    left: 15px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 15px;
    right: 15px;
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

@keyframes ringRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

@keyframes diamondMount {
    0%, 100% { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    25% { 
        transform: scale(1.2) translateY(-5px);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    75% { 
        transform: scale(1.1) translateY(-3px);
        opacity: 0.9;
    }
}

@keyframes sparkle {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
    }
}


.tab-content {
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}

.tab-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.selection-indicator {
    transition: opacity 0.2s ease;
}

.selection-indicator.show {
    opacity: 1;
}


.info-slide {
    transition: opacity 0.4s ease-in-out;
}

.info-slide.active {
    opacity: 1;
}

.info-slide:not(.active) {
    opacity: 0;
}


.diamond-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 13px;
}

.diamond-table th {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.2s ease;
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diamond-table th:first-child {
    border-top-left-radius: 4px;
}

.diamond-table th:last-child {
    border-top-right-radius: 4px;
}

.diamond-table th:hover {
    background: #f1f5f9;
}

.diamond-table th.sortable::after {
    content: '↕';
    margin-left: 2px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    font-size: 10px;
}

.diamond-table th.sort-asc::after {
    content: '↑';
    opacity: 1;
}

.diamond-table th.sort-desc::after {
    content: '↓';
    opacity: 1;
}

.diamond-table td {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 8px;
    transition: all 0.2s ease;
    background: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    color: #374151;
}

.diamond-table tr:hover td {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.diamond-table tr {
    transition: all 0.2s ease;
}


.diamond-table .examine-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.diamond-table .examine-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.diamond-table .diamond-image {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
}

.diamond-table .stone-number {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #6b7280;
}

.diamond-table .price {
    font-weight: 600;
    color: #059669;
    font-size: 13px;
}

.diamond-table .laboratory-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 4px;
}


.category-indicator {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-indicator:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.category-indicator.active {
    background: linear-gradient(135deg, #92d6ad 0%, #7ac598 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(146, 214, 173, 0.3);
}

.category-indicator.active img,
.category-indicator.active i {
    filter: brightness(0) invert(1);
}

.banner-option-btn {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px 2px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    animation: slideIn 0.3s ease;
    min-width: 45px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .banner-option-btn {
        padding: 5px 3px;
        min-width: 50px;
    }
}

@media (min-width: 1280px) {
    .banner-option-btn {
        padding: 6px 4px;
        min-width: 55px;
    }
}

.banner-option-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #92d6ad;
}

.banner-option-btn.selected {
    border-color: #92d6ad;
    background: linear-gradient(135deg, rgba(146, 214, 173, 0.1) 0%, rgba(146, 214, 173, 0.05) 100%);
}

.banner-option-btn .icon {
    width: 16px;
    height: 16px;
    margin: 0 auto 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-option-btn .label {
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .banner-option-btn .icon {
        width: 17px;
        height: 17px;
        margin: 0 auto 2px;
    }
    
    .banner-option-btn .label {
        font-size: 8px;
    }
}

@media (min-width: 1280px) {
    .banner-option-btn .icon {
        width: 18px;
        height: 18px;
        margin: 0 auto 2px;
    }
    
    .banner-option-btn .label {
        font-size: 12px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-placeholder {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
    margin-right: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    padding-right: 4px;
}


.loading-bar {
    background: linear-gradient(90deg, #92d6ad 0%, #7ac598 50%, #5fb589 100%);
    background-size: 200% 100%;
    animation: loadingShimmer 2s ease-in-out infinite;
}

@keyframes loadingShimmer {
    0% {
        background-position: -200% 0;
        width: 0%;
    }
    50% {
        background-position: 0% 0;
        width: 100%;
    }
    100% {
        background-position: 200% 0;
        width: 0%;
    }
}


.loading-dots div {
    animation: loadingBounce 1.4s ease-in-out infinite both;
}

.loading-dots div:nth-child(1) { animation-delay: -0.32s; }
.loading-dots div:nth-child(2) { animation-delay: -0.16s; }
.loading-dots div:nth-child(3) { animation-delay: 0s; }

@keyframes loadingBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}


.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.detailed-filter-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    z-index: 10;
}

.detailed-filter-options.show {
    max-height: 200px;
    opacity: 1;
}

.detailed-filter-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 4px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.detailed-filter-options.show .detailed-filter-section {
    transform: translateY(0);
    opacity: 1;
}

.detailed-filter-options.show .detailed-filter-section:nth-child(1) { transition-delay: 0.1s; }
.detailed-filter-options.show .detailed-filter-section:nth-child(2) { transition-delay: 0.2s; }
.detailed-filter-options.show .detailed-filter-section:nth-child(3) { transition-delay: 0.3s; }
.detailed-filter-options.show .detailed-filter-section:nth-child(4) { transition-delay: 0.4s; }

.detailed-filter-header {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}

.detailed-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.detailed-filter-btn {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 8px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.detailed-filter-btn:hover {
    border-color: #92d6ad;
    background: #f0fdf4;
}

.detailed-filter-btn.selected {
    border-color: #92d6ad;
    background: #92d6ad;
    color: white;
}


.detailed-category-btn {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 80px;
}

.detailed-category-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #92d6ad;
}

.detailed-category-btn.selected {
    border-color: #92d6ad;
    background: linear-gradient(135deg, rgba(146, 214, 173, 0.1) 0%, rgba(146, 214, 173, 0.05) 100%);
}

.detailed-category-btn .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detailed-category-btn .label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    line-height: 1.2;
}


.filter-expanded {
    grid-column: span 1;
    transition: all 0.3s ease;
}

.filter-collapsed {
    grid-column: span 2;
    transition: all 0.3s ease;
}


.loading-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
}


.diamond-image {
    transition: opacity 0.3s ease;
}

.diamond-image.loading {
    opacity: 0.6;
}

.diamond-image.loaded {
    opacity: 1;
}


.diamond-table img {
    will-change: transform;
    backface-visibility: hidden;
}

.diamond-table tr {
    contain: layout style paint;
}


.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #374151;
    font-size: 14px;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 8px;
    background: white;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    background: white;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    margin: 0 2px;
    background: white;
    color: #374151 !important;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f3f4f6 !important;
    border-color: #92d6ad;
    color: #374151 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #92d6ad !important;
    border-color: #92d6ad;
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dataTables_wrapper .dataTables_processing {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dataTables_wrapper .dataTables_processing::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url('image/loader.gif') no-repeat center;
    background-size: contain;
}


.diamond-datatable {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
}

.diamond-datatable th {
    background: #fff;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table.dataTable.row-border > tbody > tr > th, table.dataTable.row-border > tbody > tr > td, table.dataTable.display > tbody > tr > th, table.dataTable.display > tbody > tr > td {
border-top: none;
}

.diamond-datatable td {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 8px;
    background: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    color: #374151;
}

.diamond-datatable tbody tr:hover td {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.diamond-datatable .examine-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.diamond-datatable .examine-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.diamond-datatable .diamond-image {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
}

.diamond-datatable .stone-number {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #6b7280;
}

.diamond-datatable .price {
    font-weight: 600;
    color: #059669;
    font-size: 13px;
}

.diamond-datatable .laboratory-logo {
	width: 100% !important;
    height: 30px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #d5d5d5;
    padding: 2px 4px;
}


.diamond-datatable thead th {
    text-align: center !important;
    vertical-align: middle !important;
}

.diamond-datatable tbody td {
    text-align: center !important;
    vertical-align: middle !important;
}


.diamond-datatable tbody td img {
    display: block;
    margin: 0 auto;
}


.diamond-datatable tbody td a,
.diamond-datatable tbody td button {
    display: inline-block;
    text-align: center;
}


.empty-state ~ .dataTables_wrapper .dataTables_length,
.empty-state ~ .dataTables_wrapper .dataTables_paginate,
.empty-state ~ .dataTables_wrapper .dataTables_info {
    display: none !important;
}


.overflow-x-auto:has(.empty-state) .dataTables_wrapper .dataTables_length,
.overflow-x-auto:has(.empty-state) .dataTables_wrapper .dataTables_paginate,
.overflow-x-auto:has(.empty-state) .dataTables_wrapper .dataTables_info {
    display: none !important;
}

/* Mobile responsive table adjustments */
@media screen and (max-width: 768px) {
    /* Hide less important columns on mobile */
    .shape-column,
    .carat-column,
    .color-column,
    .clarity-column,
    .cut-column,
    .polish-column,
    .symmetry-column,
    .fluorescence-column,
    .stone-id-column {
        display: none !important;
    }
    
    /* Ensure examine button is properly positioned */
    .examine-column {
        text-align: center;
    }
    
    /* Adjust image size on mobile */
    .image-column img {
        max-width: 60px;
        height: auto;
    }
    
    /* Adjust laboratory logo size on mobile */
    .laboratory-column img {
        max-width: 40px;
        height: auto;
    }
    
    /* Fix paginate buttons on mobile - move to new line */
    .dataTables_paginate {
        position: static !important;
        float: none !important;
        margin-top: 1rem !important;
        text-align: center !important;
        width: 100% !important;
        bottom: auto !important;
        right: auto !important;
    }
    
    /* Adjust wrapper padding for mobile */
    .dataTables_wrapper {
        padding-bottom: 80px !important;
    }
    
    /* Stack paginate buttons vertically on very small screens */
    .dataTables_wrapper .dataTables_paginate {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        margin: 0.125rem !important;
    }
}

@media screen and (max-width: 640px) {
    /* On very small screens, show only essential columns */
    .stone-id-column {
        display: none !important;
    }
    
    .price-column {
        font-size: 0.875rem;
    }
    
    /* Ensure proper spacing */
    .examine-column .examine-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Further optimize paginate buttons for very small screens */
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.375rem 0.5rem !important;
        font-size: 0.875rem !important;
        margin: 0.125rem !important;
    }
    
    /* Reduce button spacing on very small screens */
    .dataTables_wrapper .dataTables_paginate {
        gap: 0.25rem !important;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screens - stack paginate buttons */
    .dataTables_wrapper .dataTables_paginate {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        width: auto !important;
        min-width: 40px !important;
    }
}

/* DataTables responsive styling */
.dataTables_wrapper .dataTables_paginate {
    display: block;
}

/* Paginate button styling - will be controlled by JavaScript */

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ensure table is responsive */
.diamond-page-table {
    width: 100%;
    overflow-x: auto;
}

/* Column-specific styling */
.examine-column .examine-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.examine-column .examine-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.image-column img {
    max-width: 80px;
    height: auto;
    border-radius: 0.375rem;
}

.laboratory-column img {
    max-width: 50px;
    height: auto;
}

/* Sort dropdown positioning fix */
#sortDropdown {
right: 0px;
    min-width: 200px;
    top: 50px !important;
}
