/**
 * Mobile Touch Feedback System
 * Global touch interaction enhancements for mobile web app experience
 */

/* Touch feedback ripple effect */
.touch-ripple {
    position: fixed;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.4);
    pointer-events: none;
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    z-index: 99999;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced touch feedback for cards */
.card {
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

/* Button press feedback */
.btn {
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.96);
}

/* Link touch feedback */
a {
    -webkit-tap-highlight-color: transparent;
}

/* Enhanced mobile interactions */
.mobile-card-interactive {
    transition: all 0.2s ease;
    cursor: pointer;
}

.mobile-card-interactive:active {
    transform: scale(0.97);
    filter: brightness(0.95);
}

/* Remove default mobile highlights */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection where needed */
p, span, div.text-content {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}