/* Chocolate Color Tool Styles */

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Color Sample Styles */
.color-sample {
    width: 33.33%;
    height: 40px;
    border-radius: 4px;
    margin-right: 4px;
}

.color-sample:last-child {
    margin-right: 0;
}

/* Cursor Styles */
.cursor-pointer {
    cursor: pointer;
}

/* Preset Color Button Hover Effect */
.preset-color {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.preset-color:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Palette Color Hover Effect */
.palette-color {
    transition: transform 0.2s;
    cursor: pointer;
}

.palette-color:hover {
    transform: translateY(-5px);
}

/* Copy Button Hover Effect */
.copy-icon {
    transition: color 0.2s;
}

.copy-icon:hover {
    color: #7B3F00 !important;
}

/* Related Colors Links Hover Effect */
.row-cols-2 a {
    transition: transform 0.2s, opacity 0.2s;
}

.row-cols-2 a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Custom Range Slider Styling */
.form-range::-webkit-slider-thumb {
    background: #7B3F00;
}

.form-range::-moz-range-thumb {
    background: #7B3F00;
}

.form-range::-ms-thumb {
    background: #7B3F00;
}

/* Toast Animation */
.toast.show {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .color-sample {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .palette-color {
        height: 100px !important;
    }
}