/* =========================================================
   컬러 피커 (배경색 UI)
========================================================= */

.colorPick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

#bgPickBtn.ghostBtn {
    width: auto;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.colorSwatch {
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
}

.colorValue {
    color: var(--muted);
    font-size: var(--fs-13);
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
}

.pickrMount {
    position: relative;
    display: inline-block;
    width: 0;
    height: 0;
}

/* =========================================================
   Pickr 기본 버튼 제어
========================================================= */

/* Pickr 버튼 클릭 영역 무력화 */
.pcr-button,
.pcr-button::after {
    pointer-events: none !important;
}

/* =========================================================
   잠금 상태
========================================================= */

/* OEM 레이저 고정일 때 배경 선택 잠금 */
.colorPick.isLocked {
    opacity: 0.55;
    pointer-events: none;
}

/* =========================================================
   아이콘 도구 버튼
========================================================= */

.iconToolBtn {
    all: unset;
    box-sizing: border-box;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;

    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;

    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);

    background: #ffffff !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
}

.iconToolBtn:hover {
    border-color: #d0d5dd !important;
    background: #f9fafb !important;
}

.iconToolBtn iconify-icon {
    display: block;
    color: var(--txt);
}

/* =========================================================
   스포이드 아이콘 (SVG)
========================================================= */

.bgEyeBtn svg {
    width: 18px;
    height: 18px;

    stroke: #8a5a00;
    /* UI 톤 맞춤 */
    stroke-width: 1.8;

    display: block;
    pointer-events: none;
    /* 클릭 방해 방지 */
    transition: transform 0.2s ease;
}

.bgEyeBtn:hover svg {
    transform: rotate(-6deg) translateY(1px);
}

.icon-eye {
    width: 16px;
    height: 16px;
}