/* ==========================================================================
   File: Tool/3d/ui/inspector.css
   KHALA STUDIO — BORDERLESS PROPERTY INSPECTOR
   ========================================================================== */

.threed-pro-inspector {
    width: 320px;
    background: #18181a;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 40;
}

.threed-inspector-properties {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.threed-inspector-properties::-webkit-scrollbar {
    width: 4px;
}

.threed-inspector-properties::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.threed-inspector-header {
    padding: 14px 16px 8px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8c8c94;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.threed-inspector-body {
    padding: 12px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.threed-prop-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.threed-prop-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.threed-prop-label {
    font-size: 0.75rem;
    color: #8c8c94;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.threed-prop-input {
    width: 100%;
    height: 34px;
    background: #202024;
    border: none;
    border-radius: 8px;
    padding: 0 10px;
    color: #ffffff;
    font-size: 0.8125rem;
    outline: none;
    font-family: monospace;
}

.threed-prop-input:focus {
    background: #27272e;
}

/* Palette Swatches */
.threed-palette-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.threed-palette-dot {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
}

/* Color Box Indicator */
.threed-color-picker-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #202024;
    padding: 6px 10px;
    border-radius: 8px;
    border: none;
}

.threed-color-box-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    background: #ffffff;
}

.threed-color-hex-text {
    font-size: 0.8125rem;
    color: #e4e4e7;
    font-family: monospace;
}

.threed-pro-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #27272e;
    outline: none;
}

.threed-pro-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0A84FF;
    cursor: pointer;
    border: none;
}