body {
    font-family: 'Inter', sans-serif;
}
/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #3b82f6;
    cursor: pointer;
    border-radius: 50%;
    margin-top: -6px;
}
input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #3b82f6;
    cursor: pointer;
    border-radius: 50%;
}
/* Toggle Switch */
.toggle-checkbox:checked {
    right: 0;
    border-color: #68d391;
}
.toggle-checkbox:checked + .toggle-label {
    background-color: #68d391;
}
.read-only-controls {
    pointer-events: none;
    opacity: 0.6;
}
/* Table View */
.idea-table-container {
    display: grid;
    grid-template-columns: 40px minmax(0, 3fr) 110px 110px 90px 90px 90px;
    grid-auto-flow: row;
    row-gap: 0.5rem;
    column-gap: 0.75rem;
    width: 100%;
}
.idea-table-header {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
}
.idea-table-row,
.idea-table-row-layout {
    display: contents; /* This is the key */
}
.idea-table-cell {
    background-color: white;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 1px solid #f3f4f6;
}
.idea-table-row:hover > .idea-table-cell {
    background-color: #f9fafb;
}
.idea-table-row > .idea-table-cell:first-child { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.idea-table-row > .idea-table-cell:last-child { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

/* SortableJS ghost class */
.sortable-ghost {
    background: #dbeafe;
    opacity: 0.7;
}
.sortable-ghost > div {
     background: #dbeafe;
}
.sortable-chosen {
    cursor: grabbing;
}
