/* Vazirmatn font defaults */
body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

/* Safe-area insets for mobile/Telegram Mini Apps */
header {
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
}

nav {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

/* Custom modern scrollbars */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Tab button active state */
.nav-btn.active {
    color: #10b981 !important;
}

/* Fade in animation */
.tab-content {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
