/* General Styles */
.cursor-pointer {
    cursor: pointer;
}

/* Color Sample Styles */
.color-sample {
    transition: transform 0.2s ease;
}

tr:hover .color-sample {
    transform: scale(1.1);
}

/* 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: #FF69B4;
    border: 1px solid #e0e0e0;
}

.form-range::-moz-range-thumb {
    background: #FF69B4;
    border: 1px solid #e0e0e0;
}

.form-range::-ms-thumb {
    background: #FF69B4;
    border: 1px solid #e0e0e0;
}

.form-range::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #FF69B4, #FF1493, #FF6EB4, #FF007F, #FF66CC);
}

.form-range::-moz-range-track {
    background: linear-gradient(to right, #FF69B4, #FF1493, #FF6EB4, #FF007F, #FF66CC);
}

.form-range::-ms-track {
    background: linear-gradient(to right, #FF69B4, #FF1493, #FF6EB4, #FF007F, #FF66CC);
}

/* 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: #FF69B4 !important;
}

/* Form Focus States */
.form-control:focus,
.form-select:focus {
    border-color: #FF69B4;
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 180, 0.25);
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
}

/* Other Colors Links */
.row-cols-2 a {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.row-cols-2 a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f8f8f8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF69B4, #FF1493, #FF6EB4, #FF007F, #FF66CC);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #FF1493, #FF6EB4, #FF007F);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .color-sample {
        height: 30px;
    }
    
    .palette-color {
        height: 100px !important;
    }

    .preset-color {
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 576px) {
    .color-sample {
        height: 25px;
    }

    .palette-color {
        height: 80px !important;
    }

    .preset-color {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Animation for color changes */
@keyframes colorPulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.palette-color:active {
    animation: colorPulse 0.3s ease;
}

/* Table hover effects */
.table-hover tbody tr:hover {
    background-color: rgba(255, 105, 180, 0.05);
}

/* Hot Pink specific styles */
.hotpink-header {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hot Pink gradient text effect */
.hotpink-text {
    background: linear-gradient(to right, #FF69B4, #FF1493, #FF6EB4, #FF007F, #FF66CC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hot Pink animation for special elements */
@keyframes hotpinkAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hotpink-animated {
    background: linear-gradient(90deg, #FF69B4, #FF1493, #FF6EB4, #FF007F, #FF66CC, #FF69B4);
    background-size: 600% 600%;
    animation: hotpinkAnimation 8s ease infinite;
}

/* Hot Pink border effect */
.hotpink-border {
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: 
        linear-gradient(to bottom, white, white), 
        linear-gradient(90deg, #FF69B4, #FF1493, #FF6EB4, #FF007F, #FF66CC);
}

/* Hot Pink shadow effect */
.hotpink-shadow:hover {
    box-shadow: 
        0 0 10px rgba(255, 105, 180, 0.5),
        0 0 20px rgba(255, 105, 180, 0.3),
        0 0 30px rgba(255, 105, 180, 0.2);
}

/* Hot Pink button styles */
.btn-hotpink {
    background: linear-gradient(to right, #FF69B4, #FF1493, #FF6EB4);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-hotpink:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hot Pink tooltip */
.hotpink-tooltip {
    position: relative;
}

.hotpink-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: linear-gradient(to right, #FF69B4, #FF1493, #FF6EB4);
    color: white;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    z-index: 10;
}