/* Custom styles for application */

html {
    -webkit-tap-highlight-color: transparent;
}

/* Hide scrollbar for horizontal lists */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Safe area padding for iPhone notch */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Animations */
@keyframes pulse-slight {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-pulse-slight {
    animation: pulse-slight 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Active Tab Styles */
.nav-btn.active {
    color: #ed1c24;
    /* primary */
}

.nav-btn.active i {
    transform: translateY(-2px);
}

.nav-btn:not(.active) i {
    transform: translateY(0);
}

/* Tab contents */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

#tab-map.active {
    display: flex !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode transition smoother */
body,
header,
nav,
button,
div,
input {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}