/* Seafoam Color Tool Styles */

/* 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;
}

/* Preset Color Button Styles */
.preset-color {
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.preset-color:hover {
    transform: scale(1.1);
}

/* Copy Button Styles */
.copy-icon {
    cursor: pointer;
    transition: all 0.2s;
}

.copy-icon:hover {
    color: #5BC8AC !important;
}

/* Related Colors Links */
.col a {
    transition: all 0.3s ease;
}

.col a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #5BC8AC;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #45A88E;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .color-sample {
        height: 30px;
    }
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    background-color: #e8f7f3;
    color: #45A88E;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(91, 200, 172, 0.25);
    border-color: #5BC8AC;
}

/* Form Controls */
.form-range::-webkit-slider-thumb {
    background: #5BC8AC;
}

.form-range::-moz-range-thumb {
    background: #5BC8AC;
}

.form-range::-ms-thumb {
    background: #5BC8AC;
}

.form-select:focus {
    border-color: #5BC8AC;
    box-shadow: 0 0 0 0.25rem rgba(91, 200, 172, 0.25);
}

/* Table Hover Effect */
.table-hover tbody tr:hover {
    background-color: rgba(91, 200, 172, 0.1);
}

/* Badge Customization */
.badge.bg-light {
    border: 1px solid #e0e0e0;
}

/* Animation for Color Changes */
#currentColor {
    transition: background-color 0.5s ease;
}

/* Print Styles */
@media print {
    .navbar, 
    .copy-icon, 
    footer {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    body {
        background-color: white !important;
    }
}