/* ========================================
   COLOR PALETTE & TOOLBAR STYLES
   ======================================== */

/* Color Swatch */
.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.selected {
    border-color: white;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* ========================================
   TOOLBAR COLOR PICKER
   ======================================== */
.toolbar-color-picker {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid #4b5563;
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
}

.toolbar-color-picker::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.toolbar-color-picker::-webkit-color-swatch {
    border-radius: 2px;
    border: none;
}
