/**
 * Enhanced colors tab styling
 * This CSS ensures the color picker and related UI elements in the settings panel are visible
 */

/* Make the color picker more visible */
#colorPicker {
    width: 50px !important;
    height: 40px !important;
    border-radius: 4px !important;
    border: 2px solid white !important;
    cursor: pointer !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Fix the Add Color button */
#addColor {
    background-color: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    min-height: 40px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    margin-left: 10px !important;
}

/* Make the color picker container more visible */
.color-picker-container {
    display: flex !important;
    align-items: center !important;
    margin: 15px 0 !important;
    padding: 5px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Make the custom colors list container more visible */
#customColorsList {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
    min-height: 50px !important;
    padding: 10px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Style for color tab content */
#colors-tab {
    padding: 10px !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px !important;
}

/* Enhanced style for custom colors setting section */
#customColorsSetting {
    margin-top: 20px !important;
    padding: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px !important;
}

/* Fix for circular remove buttons on color swatches */
#customColorsList .color-swatch button {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}