/* Custom Polish & Micro-Interactions for Midland Water Leak Detection */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Glassmorphism Accents */
.glass-panel {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Emergency Ring Pulse */
@keyframes emergency-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(234, 88, 12, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
    }
}

.animate-call-pulse {
    animation: emergency-pulse 2s infinite;
}

/* Water Ripple Effect */
@keyframes water-ripple {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.water-glow {
    box-shadow: 0 10px 30px -10px rgba(2, 132, 199, 0.35);
}

/* Custom transitions */
.transition-smooth {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide scrollbar for tabs */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
