/* Custom styles for HeartSync */

.slider::-webkit-slider-thumb {
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #FF6B6B;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #FF6B6B;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Custom scrollbar for appreciation notes */
.overflow-y-auto::-webkit-scrollbar {
    width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
    background: #FF8E9B;
    border-radius: 10px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: #FF6B6B;
}

/* Gentle box shadows for cards */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Smooth hover effects */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Focus states for accessibility */
input:focus, textarea:focus, button:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Mobile responsiveness enhancements */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .space-x-6 > * + * {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .hidden {
        display: none;
    }
}

/* Animation for progress bars */
@keyframes fillProgress {
    from {
        width: 0%;
    }
}

.bg-coral, .bg-sage, .bg-golden, .bg-lavender {
    animation: fillProgress 1s ease-out;
}

/* Gentle pulse animation for hearts */
@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.text-coral svg {
    animation: gentlePulse 2s ease-in-out infinite;
}