/* 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.1);
    cursor: pointer;
}

/* Custom Range Slider Styling */
.form-range::-webkit-slider-thumb {
    background: #FF6347;
}

.form-range::-moz-range-thumb {
    background: #FF6347;
}

.form-range::-ms-thumb {
    background: #FF6347;
}

/* 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.1);
}

.preset-color.active {
    border: 2px solid #333;
}

/* Copy Button Styles */
.copy-icon {
    transition: all 0.2s ease;
}

.copy-icon:hover {
    color: #FF6347 !important;
}

/* Toast Animation */
.toast.showing {
    opacity: 0;
}

.toast.show {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Tomato Color Theme Specific Styles */
#currentColor {
    border: 1px solid #e0e0e0 !important;
}

.form-range::-webkit-slider-runnable-track {
    background-color: #e0e0e0;
}

.form-range::-moz-range-track {
    background-color: #e0e0e0;
}

.form-range::-ms-track {
    background-color: #e0e0e0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .color-sample {
        height: 30px;
    }
    
    .palette-color {
        height: 100px !important;
    }
}

/* Tomato Color Specific Styles */
.badge.bg-light {
    border: 1px solid #e0e0e0;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 99, 71, 0.05);
}

.form-select:focus {
    border-color: #FF6347;
    box-shadow: 0 0 0 0.25rem rgba(255, 99, 71, 0.25);
}

/* Tomato Button Styles */
.btn-tomato {
    background-color: #FF6347;
    color: white;
}

.btn-tomato:hover {
    background-color: #E74C3C;
    color: white;
}

.btn-outline-tomato {
    border-color: #FF6347;
    color: #FF6347;
}

.btn-outline-tomato:hover {
    background-color: #FF6347;
    color: white;
}

/* Tomato Text Colors */
.text-tomato {
    color: #FF6347 !important;
}

.bg-tomato {
    background-color: #FF6347 !important;
}

/* Tomato Border Colors */
.border-tomato {
    border-color: #FF6347 !important;
}

/* Tomato Link Colors */
a.tomato-link {
    color: #FF6347;
    text-decoration: none;
}

a.tomato-link:hover {
    color: #E74C3C;
    text-decoration: underline;
}

/* Tomato Focus Styles */
.tomato-focus:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 99, 71, 0.25);
    border-color: #FF6347;
}