/* General Styles */
.cursor-pointer {
    cursor: pointer;
}

/* Color Sample Styles */
.color-sample {
    width: 33.33%;
    height: 40px;
    border-radius: 4px;
    margin-right: 4px;
}

.color-sample:last-child {
    margin-right: 0;
}

/* Palette Color Styles */
.palette-color {
    transition: all 0.2s ease;
}

.palette-color:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Custom Range Slider Styling */
.form-range::-webkit-slider-thumb {
    background: #191970;
}

.form-range::-moz-range-thumb {
    background: #191970;
}

.form-range::-ms-thumb {
    background: #191970;
}

.form-range::-webkit-slider-runnable-track {
    background-color: #e0e0e0;
}

.form-range::-moz-range-track {
    background-color: #e0e0e0;
}

.form-range::-ms-track {
    background-color: #e0e0e0;
}

/* Preset Color Button Styles */
.preset-color {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.preset-color:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.preset-color.active {
    border: 2px solid #333;
}

/* Copy Button Styles */
.copy-icon {
    transition: all 0.2s ease;
}

.copy-icon:hover {
    color: #191970 !important;
}

/* Toast Animation */
.toast.showing {
    opacity: 0;
}

.toast.show {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Midnight Blue Color Theme Specific Styles */
.badge.bg-light {
    border: 1px solid #e0e0e0;
}

.table-hover tbody tr:hover {
    background-color: rgba(25, 25, 112, 0.05);
}

.form-select:focus {
    border-color: #191970;
    box-shadow: 0 0 0 0.25rem rgba(25, 25, 112, 0.25);
}