/* Vanilla Color Picker Styles */
.vcp-container {
    width: 300px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 40px -10px rgba(20, 184, 166, 0.25);
    border: 1px solid #5eead4;
    padding: 14px;
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

.vcp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.vcp-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vcp-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f0fdfa;
    color: #14b8a6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcp-title {
    font-size: 13px;
    font-weight: 900;
    color: #44403c;
}

.vcp-close-btn {
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #a8a29e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.vcp-close-btn:hover {
    background: #fafaf9;
    color: #14b8a6;
}

.vcp-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 135px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: crosshair;
}

.vcp-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.vcp-cursor {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.vcp-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.vcp-preview {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.vcp-hue-slider-wrap {
    flex: 1;
    position: relative;
    height: 12px;
}

.vcp-hue-bg {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(to right, #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0080ff, #8000ff, #ff00ff, #ff0000);
}

.vcp-hue-thumb {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(255,255,255,0.95);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.vcp-hue-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    appearance: none;
}

.vcp-inputs-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 6px;
    margin-bottom: 8px;
}

.vcp-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vcp-label {
    font-size: 9px;
    font-weight: 500;
    color: rgba(0,0,0,0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.vcp-input {
    background: #f5f6f8;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 7px;
    color: rgba(0,0,0,0.7);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    text-align: center;
    padding: 4px 0;
    outline: none;
    width: 100%;
}

.vcp-apply-btn {
    width: 100%;
    height: 36px;
    border-radius: 11px;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    background: #f0f1f4;
    color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vcp-apply-btn:hover {
    color: rgba(0,0,0,0.8);
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.vcp-apply-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    transition: opacity 0.2s;
}

.vcp-apply-btn:hover .vcp-apply-overlay {
    opacity: 0.2;
}

.vcp-apply-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
