/* Color Picker Styles */
.color-palette {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

.color-option {
    position: relative;
    padding: 0.25rem;
    border: 3px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: white;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.color-option:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.color-option.selected {
    border-color: #0d6efd;
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.color-swatch {
    width: 100%;
    height: 50px;
    border-radius: 0.375rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.custom-color-option {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.custom-color-option .form-control-color {
    width: 100%;
    height: 50px;
    border-radius: 0.375rem;
    cursor: pointer;
}

.selected-color-preview {
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .color-option {
        padding: 0.2rem;
    }

    .color-swatch {
        height: 40px;
    }
}