/* Khaki Color Tool Styles */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.cursor-pointer {
    cursor: pointer;
}

/* Color Sample Styles */
.color-sample {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-right: 5px;
}

/* Preset Color Button Styles */
.preset-color {
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.preset-color:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Palette Color Styles */
.palette-color {
    cursor: pointer;
    transition: transform 0.2s;
}

.palette-color:hover {
    transform: translateY(-5px);
}

/* Related Colors Links */
.row-cols-2 a {
    transition: transform 0.2s, box-shadow 0.2s;
}

.row-cols-2 a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make text visible on color backgrounds */
.row-cols-2 a {
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .color-sample {
        width: 30px;
        height: 30px;
    }
    
    .preset-color {
        width: 35px !important;
        height: 35px !important;
    }
}

/* Toast notification styles */
.toast {
    border-radius: 8px;
}

.toast-body {
    padding: 12px 16px;
}

/* Form control focus styles */
.form-control:focus, 
.form-select:focus {
    border-color: #C3B091;
    box-shadow: 0 0 0 0.25rem rgba(195, 176, 145, 0.25);
}

/* Range slider custom styling */
.form-range::-webkit-slider-thumb {
    background: #C3B091;
}

.form-range::-moz-range-thumb {
    background: #C3B091;
}

.form-range::-ms-thumb {
    background: #C3B091;
}

/* Card hover effects */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Button hover effects */
.btn:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #C3B091;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A39171;
}