/* SimilarCompanies — custom styles (Tailwind handles the rest) */

body {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Detail row expand/collapse transition */
.detail-row td {
    padding: 0 !important;
    border: none !important;
}
.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}
.detail-row.open .detail-content {
    max-height: 600px;
}

/* Logo in header */
.logo-image {
    height: 36px;
    width: 36px;
}

/* Sidebar active indicator */
.nav-link-active {
    background-color: var(--color-primary, #2563EB);
    color: #fff !important;
}

/* Prevent text selection on clickable rows */
.clickable-row {
    user-select: none;
}

/* Dual range slider for quality score */
.quality-range-input {
    -webkit-appearance: none;
    appearance: none;
    height: 0;
    margin: 0;
    outline: none;
    pointer-events: none;
}
.quality-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563EB;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
}
.quality-range-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563EB;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
}
